From f02511b103acce8d3fa4bc174a43be15c4cca052 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Thu, 18 Jan 2024 12:08:37 +0700
Subject: Update add to wishlist in product detail

---
 src-migrate/modules/product-detail/components/ProductDetail.tsx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src-migrate/modules/product-detail/components/ProductDetail.tsx')

diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx
index 93fa7118..80f43aea 100644
--- a/src-migrate/modules/product-detail/components/ProductDetail.tsx
+++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx
@@ -52,10 +52,10 @@ const ProductDetail = ({ product }: Props) => {
   return (
     <>
       <div className='md:flex md:flex-wrap'>
-        <div className="w-full mb-4 md:mb-6 px-4 md:px-0">
+        <div className="w-full mb-4 md:mb-0 px-4 md:px-0">
           <Breadcrumb id={product.id} name={product.name} />
         </div>
-        <div className='md:w-9/12 md:flex md:flex-col md:pr-4'>
+        <div className='md:w-9/12 md:flex md:flex-col md:pr-4 md:pt-6'>
           <div className='md:flex md:flex-wrap'>
             <div className="md:w-4/12">
               <ProductImage product={product} />
@@ -86,7 +86,7 @@ const ProductDetail = ({ product }: Props) => {
                   Ask Admin
                 </Button>
 
-                <AddToWishlist />
+                <AddToWishlist productId={product.id} />
 
                 <RWebShare
                   data={{
-- 
cgit v1.2.3

