diff options
author | Dessalines <happydooby@gmail.com> | 2019-04-16 16:04:23 -0700 |
---|---|---|
committer | Dessalines <happydooby@gmail.com> | 2019-04-16 16:04:23 -0700 |
commit | 2e73146e506480d950e037898c229601cbf72907 (patch) | |
tree | aab1da1b0eb54d6d0cb1e00f4f38cb218901ac53 /ui/src/index.tsx | |
parent | 5351e379d5e89a50aaa82f01f414191981cd9ca6 (diff) |
Before big moderation merge
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r-- | ui/src/index.tsx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/ui/src/index.tsx b/ui/src/index.tsx index c2f2c92e..cefcac02 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -2,6 +2,7 @@ import { render, Component } from 'inferno'; import { HashRouter, Route, Switch } from 'inferno-router'; import { Navbar } from './components/navbar'; +import { Footer } from './components/footer'; import { Home } from './components/home'; import { Login } from './components/login'; import { CreatePost } from './components/create-post'; @@ -11,6 +12,7 @@ import { Community } from './components/community'; import { Communities } from './components/communities'; import { User } from './components/user'; import { Modlog } from './components/modlog'; +import { Setup } from './components/setup'; import { Symbols } from './components/symbols'; import './main.css'; @@ -43,10 +45,13 @@ class Index extends Component<any, any> { <Route path={`/community/:id`} component={Community} /> <Route path={`/user/:id/:heading`} component={User} /> <Route path={`/user/:id`} component={User} /> + <Route path={`/modlog/community/:community_id`} component={Modlog} /> <Route path={`/modlog`} component={Modlog} /> + <Route path={`/setup`} component={Setup} /> </Switch> <Symbols /> </div> + <Footer /> </HashRouter> ); } |