Skip to content

Commit

Permalink
Fix calling loadToCart with quantity on product card
Browse files Browse the repository at this point in the history
  • Loading branch information
leomp12 committed Feb 19, 2025
1 parent e3d3581 commit 8fb2392
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion functions/ssr/src/components/ProductCard.vue
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
class=":uno: absolute -top-6 left-0 -z-10 hidden w-full
rounded-none opacity-0 transition ui-btn-sm ui-btn-primary
group-hover:z-10 group-hover:opacity-100 md:block"
@click.stop.prevent="loadToCart(product)"
@click.stop.prevent="loadToCart(1)"
>
<span class="mr-1 inline-block size-4 rounded-full
bg-on-primary text-center text-base leading-none
Expand Down

0 comments on commit 8fb2392

Please sign in to comment.