detail page updated , add subcategory zustand
This commit is contained in:
@@ -21,7 +21,7 @@ export default function InnerProductcard({ data }: { data: any }) {
|
||||
|
||||
return (
|
||||
<Link
|
||||
href={`/${route.lang}/${route.carType}/${data.name}`}
|
||||
href={`/${route.lang}/${route.carType}/${data.id}`}
|
||||
onClick={() => {
|
||||
setDetail(data);
|
||||
setInitialCar(carInfo);
|
||||
|
||||
Reference in New Issue
Block a user