detail page updated , add subcategory zustand

This commit is contained in:
nabijonovdavronbek619@gmail.com
2026-04-17 11:04:34 +05:00
parent 83bfb6296d
commit ebc08eff8f
7 changed files with 173 additions and 65 deletions

View File

@@ -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);