Skip to content

Commit 7b17fe7

Browse files
Fix: Correct product navigation from search
1 parent 5b8a859 commit 7b17fe7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ui/SearchDialog.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ export const SearchDialog = ({ open, onOpenChange }: SearchDialogProps) => {
2222
);
2323

2424
const handleProductClick = (productId: string) => {
25-
navigate(`/product/${productId}`);
25+
navigate(`/products/${productId}`);
2626
onOpenChange(false);
2727
setSearchQuery("");
2828
};

0 commit comments

Comments
 (0)