Browse Source

typo on search

master
azri 1 week ago
parent
commit
29ecc57958
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/components/SearchProduct/SearchProduct.jsx

+ 1
- 1
src/components/SearchProduct/SearchProduct.jsx View File

99
                                 key={product.id}
99
                                 key={product.id}
100
                                 sx={{ display: 'flex', alignItems: 'center', p: 2, cursor:"pointer" }}
100
                                 sx={{ display: 'flex', alignItems: 'center', p: 2, cursor:"pointer" }}
101
                                 onClick={() => {
101
                                 onClick={() => {
102
-                                    window.location.href = `/product/${product?.handle}`
102
+                                    window.location.href = `/products/${product?.handle}`
103
                                 }}
103
                                 }}
104
                             >
104
                             >
105
                                 <CardMedia
105
                                 <CardMedia

Loading…
Cancel
Save