Clean up product typings (#7663)
There are a lot of issues in the admin after applying the correct typings, but fixing those should be done gradually, it's better to keep it out of this PR
This commit is contained in:
@@ -63,7 +63,7 @@ export const RouteMap: RouteObject[] = [
|
||||
path: ":id",
|
||||
lazy: () => import("../../routes/products/product-detail"),
|
||||
handle: {
|
||||
crumb: (data: { product: HttpTypes.AdminProduct }) =>
|
||||
crumb: (data: HttpTypes.AdminProductResponse) =>
|
||||
data.product.title,
|
||||
},
|
||||
children: [
|
||||
|
||||
Reference in New Issue
Block a user