import { Component } from 'inferno'; import { Route, Switch } from 'inferno-router'; /* import { Provider } from 'inferno-i18next'; */ /* import { i18n } from './i18next'; */ import { routes } from '../../shared/routes'; import { Navbar } from '../../shared/components/navbar'; import { Footer } from '../../shared/components/footer'; import { Symbols } from '../../shared/components/symbols'; import { GetSiteResponse } from 'lemmy-js-client'; import './styles.scss'; export interface AppProps { site: GetSiteResponse; } export class App extends Component { constructor(props: any, context: any) { super(props, context); } /* */ render() { return ( <>
{routes.map(({ path, exact, component: C, ...rest }) => ( } /> ))} {/* } /> */}
); } }