diff options
author | Dessalines <tyhou13@gmx.com> | 2019-04-20 12:42:52 -0700 |
---|---|---|
committer | Dessalines <tyhou13@gmx.com> | 2019-04-20 12:42:52 -0700 |
commit | ddabc4286118419280520c430adaf6d7f49ff9ca (patch) | |
tree | 2bd867453066655d68c10f24cbefba5282e7885c /ui/src/index.tsx | |
parent | be08352cfdef1d1e9a3f2de8fa28aad8767aeeec (diff) |
Adding support for an /all route
- Fixes #85
Diffstat (limited to 'ui/src/index.tsx')
-rw-r--r-- | ui/src/index.tsx | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ui/src/index.tsx b/ui/src/index.tsx index 677d7678..716684de 100644 --- a/ui/src/index.tsx +++ b/ui/src/index.tsx @@ -37,6 +37,7 @@ class Index extends Component<any, any> { <Navbar /> <div class="mt-3 p-0"> <Switch> + <Route exact path="/all" component={Home} /> <Route exact path="/" component={Home} /> <Route path={`/login`} component={Login} /> <Route path={`/create_post`} component={CreatePost} /> |