Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion modules/marketplace/component/WishlistProductCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -79,7 +79,8 @@ export const WishlistProductCard = ({
size={'sm'}
intent={'tertiary'}
spinnerColor="#00894C px-3 py-1"
// onClick={() => moveToCart(product.productId)}
onClick={() => moveToCart(product?.id)}
disabled = {product.quantity > 1 ? false : true}
>
<span className="text-[12px] md:text-lg ">{product.inCart ? 'Explore Similar' : 'Move To Cart'}</span>
</Button>
Expand Down Expand Up @@ -123,6 +124,7 @@ export const WishlistProductCard = ({
size={'sm'}
intent={'tertiary'}
spinnerColor="#00894C px-4 py-2"
disabled = {product.quantity > 1 ? false : true}
>
{product.inCart ? 'Explore Similar' : 'Move To Cart'}
</Button>
Expand Down