import { Component } from 'inferno'; import { CommunityForm } from './community-form'; export class CreateCommunity extends Component { constructor(props: any, context: any) { super(props, context); this.handleCommunityCreate = this.handleCommunityCreate.bind(this); } componentDidMount() { document.title = "Create Forum - Lemmy"; } render() { return (
Create Forum
) } handleCommunityCreate(id: number) { this.props.history.push(`/community/${id}`); } }