File tree Expand file tree Collapse file tree 3 files changed +3
-3
lines changed
pages/admin/PageProductImport Expand file tree Collapse file tree 3 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ function App() {
19
19
< Route path = ":id" element = { < PageOrder /> } />
20
20
</ Route >
21
21
< Route path = "admin/products" element = { < PageProductImport /> } />
22
- < Route path = "product-form" >
22
+ < Route path = "admin/ product-form" >
23
23
< Route index element = { < PageProductForm /> } />
24
24
< Route path = ":id" element = { < PageProductForm /> } />
25
25
</ Route >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default function PageProductImport() {
19
19
variant = "contained"
20
20
sx = { { alignSelf : "end" } }
21
21
component = { Link }
22
- to = { ".. /product-form" }
22
+ to = { "/admin /product-form" }
23
23
>
24
24
Create product
25
25
</ Button >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default function ProductsTable() {
47
47
size = "small"
48
48
color = "primary"
49
49
component = { Link }
50
- to = { `.. /product-form/${ product . id } ` }
50
+ to = { `/admin /product-form/${ product . id } ` }
51
51
>
52
52
Manage
53
53
</ Button >
You can’t perform that action at this time.
0 commit comments