back in fixed category

This commit is contained in:
hamid zarghami
2026-01-04 16:38:04 +03:30
parent 6ebefa6a52
commit 86aebd7a9f
4 changed files with 27 additions and 17 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ const MenuItem = ({ food }: MenuItemProps) => {
removeFromCart(food.id);
};
const foodDetailUrl = `/${name}/${food.id}`;
const foodDetailUrl = `/${name}/${food.id}?category=${food.category.id}`;
return (
<div className="flex gap-4 w-full h-full items-center">