File tree Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Expand file tree Collapse file tree 3 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -18,9 +18,7 @@ import { MainNavigation } from './components';
1818import Home from './pages/Home' ;
1919import CollectionList from './pages/CollectionList' ;
2020import { CollectionForm } from './pages/CollectionForm' ;
21- import ItemList from './pages/ItemList' ;
2221import ItemDetail from './pages/ItemDetail' ;
23- import ItemForm from './pages/ItemForm' ;
2422import NotFound from './pages/NotFound' ;
2523import CollectionDetail from './pages/CollectionDetail' ;
2624import Sandbox from './pages/Sandbox' ;
@@ -63,15 +61,10 @@ export const App = () => (
6361 path = '/collections/:collectionId/edit/'
6462 element = { < CollectionForm /> }
6563 />
66- < Route path = '/items/' element = { < ItemList /> } />
6764 < Route
6865 path = '/collections/:collectionId/items/:itemId/'
6966 element = { < ItemDetail /> }
7067 />
71- < Route
72- path = '/collections/:collectionId/items/:itemId/edit/'
73- element = { < ItemForm /> }
74- />
7568 < Route path = '/sandbox' element = { < Sandbox /> } />
7669 < Route path = '*' element = { < NotFound /> } />
7770 </ Routes >
Original file line number Diff line number Diff line change @@ -29,10 +29,7 @@ function MainNavigation() {
2929 < Box as = 'nav' aria-label = 'Main' >
3030 < List display = 'flex' gap = { 2 } >
3131 < NavItem to = '/collections/' leftIcon = { < CollecticonFolder /> } >
32- Collections
33- </ NavItem >
34- < NavItem to = '/items/' leftIcon = { < CollecticonFolder /> } >
35- Items
32+ Browse
3633 </ NavItem >
3734 < NavItem to = '/collections/new' leftIcon = { < CollecticonPlusSmall /> } >
3835 Create
Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ import { Flex, SimpleGrid } from '@chakra-ui/react';
33
44import { usePageTitle } from '../../hooks' ;
55import { InnerPageHeader } from '$components/InnerPageHeader' ;
6- import { ItemCard } from '$components/ItemCard' ;
6+ import { ItemCard } from '$components/ItemCard' ;
77
88export default function Sandbox ( ) {
99 usePageTitle ( 'Sandbox' ) ;
You can’t perform that action at this time.
0 commit comments