Update WishlistButton.tsx

This commit is contained in:
Alessandro Casazza 2022-01-11 10:02:16 +01:00 committed by Alessandro Casazza
parent 4da115d232
commit 5a44750963
No known key found for this signature in database
GPG Key ID: 3AF41B06C6495D3D

View File

@ -34,6 +34,7 @@ const WishlistButton: FC<Props> = ({
item.product_id === productId && item.product_id === productId &&
item.variant_id === variant.id item.variant_id === variant.id
) )
const handleWishlistChange = async (e: any) => { const handleWishlistChange = async (e: any) => {
e.preventDefault() e.preventDefault()