diff options
Diffstat (limited to 'ui/src/components/home.tsx')
-rw-r--r-- | ui/src/components/home.tsx | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/ui/src/components/home.tsx b/ui/src/components/home.tsx index cebe222b..e69de29b 100644 --- a/ui/src/components/home.tsx +++ b/ui/src/components/home.tsx @@ -1,24 +0,0 @@ -import { Component } from 'inferno'; -import { Main } from './main'; -import { ListingType } from '../interfaces'; - -export class Home extends Component<any, any> { - - constructor(props: any, context: any) { - super(props, context); - } - - render() { - return ( - <Main type={this.listType()}/> - ) - } - - componentDidMount() { - document.title = "Lemmy"; - } - - listType(): ListingType { - return (this.props.match.path == '/all') ? ListingType.All : ListingType.Subscribed; - } -} |