import { Component, linkEvent } from 'inferno'; import { CommunityForm } from './community-form'; export class CreateCommunity extends Component { constructor(props, context) { super(props, context); this.handleCommunityCreate = this.handleCommunityCreate.bind(this); } render() { return (

Create Forum

) } handleCommunityCreate(id: number) { this.props.history.push(`/community/${id}`); } }