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() {
1919 < Route path = ":id" element = { < PageOrder /> } />
2020 </ Route >
2121 < Route path = "admin/products" element = { < PageProductImport /> } />
22- < Route path = "product-form" >
22+ < Route path = "admin/ product-form" >
2323 < Route index element = { < PageProductForm /> } />
2424 < Route path = ":id" element = { < PageProductForm /> } />
2525 </ Route >
Original file line number Diff line number Diff line change @@ -19,7 +19,7 @@ export default function PageProductImport() {
1919 variant = "contained"
2020 sx = { { alignSelf : "end" } }
2121 component = { Link }
22- to = { ".. /product-form" }
22+ to = { "/admin /product-form" }
2323 >
2424 Create product
2525 </ Button >
Original file line number Diff line number Diff line change @@ -47,7 +47,7 @@ export default function ProductsTable() {
4747 size = "small"
4848 color = "primary"
4949 component = { Link }
50- to = { `.. /product-form/${ product . id } ` }
50+ to = { `/admin /product-form/${ product . id } ` }
5151 >
5252 Manage
5353 </ Button >
You can’t perform that action at this time.
0 commit comments