diff options
| author | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-18 22:18:46 +0700 |
|---|---|---|
| committer | Rafi Zadanly <zadanlyr@gmail.com> | 2023-02-18 22:18:46 +0700 |
| commit | 75767ed41d28947429f3dbef9c7e128ebc552e64 (patch) | |
| tree | 77bee121ff883c8b1a00680a53d56f9f473a4397 /src/lib | |
| parent | 347e28848fb063ffcb7f9268384409e57b7ef3ad (diff) | |
change animation
Diffstat (limited to 'src/lib')
| -rw-r--r-- | src/lib/product/components/Product.jsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/product/components/Product.jsx b/src/lib/product/components/Product.jsx index 299cdc77..396eba5f 100644 --- a/src/lib/product/components/Product.jsx +++ b/src/lib/product/components/Product.jsx @@ -48,7 +48,7 @@ const Product = ({ product }) => { if (selectedVariant) { const variant = product.variants.find(variant => variant.id == selectedVariant.value) const variantAttributes = variant.attributes.length > 0 ? ' - ' + variant.attributes.join(', ') : '' - console.log(variant); + setActiveVariant({ id: variant.id, code: variant.code, |
