diff options
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r-- | ui/src/index.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 2e50db88..41404f4b 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -38,11 +38,11 @@ class Index extends Component<any, any> { <Navbar /> <div class="mt-4 p-0"> <Switch> + <Route exact path={`/`} component={Main} /> <Route path={`/home/type/:type/sort/:sort/page/:page`} component={Main} /> - <Route exact path={`/`} component={Main} /> <Route path={`/login`} component={Login} /> <Route path={`/create_post`} component={CreatePost} /> <Route path={`/create_community`} component={CreateCommunity} /> |