import { Component } from 'inferno'; import { Main } from './main'; import { ListingType } from '../interfaces'; export class Home extends Component { constructor(props: any, context: any) { super(props, context); } render() { return (
) } componentDidMount() { document.title = "Lemmy"; } listType(): ListingType { return (this.props.match.path == '/all') ? ListingType.All : ListingType.Subscribed; } }