File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -3,8 +3,9 @@ import { Route } from 'react-router-dom';
3
3
import { List , Create , Update , Show } from '../components/book/' ;
4
4
5
5
export default [
6
- < Route path = "/books/create" component = { Create } exact = { true } key = "create" /> ,
7
- < Route path = "/books/edit/:id" component = { Update } exact = { true } key = "update" /> ,
8
- < Route path = "/books/show/:id" component = { Show } exact = { true } key = "show" /> ,
9
- < Route path = "/books/:page?" component = { List } strict = { true } key = "list" />
6
+ < Route path = "/books/create" component = { Create } exact key = "create" /> ,
7
+ < Route path = "/books/edit/:id" component = { Update } exact key = "update" /> ,
8
+ < Route path = "/books/show/:id" component = { Show } exact key = "show" /> ,
9
+ < Route path = "/books/" component = { List } exact strict key = "list" /> ,
10
+ < Route path = "/books/:page" component = { List } exact strict key = "page" />
10
11
] ;
You can’t perform that action at this time.
0 commit comments