Cleaning up list detail

This commit is contained in:
Max Lynch
2021-01-19 17:24:46 -06:00
parent ba7de799cc
commit 2d4b04674c
4 changed files with 43 additions and 130 deletions
+2
View File
@@ -5,6 +5,7 @@ import { cog, flash, list } from 'ionicons/icons';
import Home from './Feed';
import Lists from './Lists';
import ListDetail from './ListDetail';
import Settings from './Settings';
const Tabs = () => {
@@ -14,6 +15,7 @@ const Tabs = () => {
<IonRouterOutlet>
<Route path="/tabs/feed" component={Home} exact={true} />
<Route path="/tabs/lists" component={Lists} exact={true} />
<Route path="/tabs/lists/:listId" component={ListDetail} exact={true} />
<Route path="/tabs/settings" component={Settings} exact={true} />
<Route path="/tabs" render={() => <Redirect to="/tabs/feed" />} exact={true} />
</IonRouterOutlet>