From 833488811b4164d7fbdce9bd70e171f06d62bf8d Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 20 Mar 2023 14:33:21 +0700
Subject: login and register

---
 src/lib/product/components/ProductDesktop.jsx | 16 ++++++++--------
 1 file changed, 8 insertions(+), 8 deletions(-)

(limited to 'src/lib/product/components/ProductDesktop.jsx')

diff --git a/src/lib/product/components/ProductDesktop.jsx b/src/lib/product/components/ProductDesktop.jsx
index f37d900c..55d44212 100644
--- a/src/lib/product/components/ProductDesktop.jsx
+++ b/src/lib/product/components/ProductDesktop.jsx
@@ -225,9 +225,9 @@ const ProductDesktop = ({ product, wishlist, toggleWishlist }) => {
               </TabButton>
             ))}
           </div>
-          <div className='flex rounded'>
-            <TabContent active={informationTab == 'description'}>
-              <div className='w-3/4 leading-7 product__description'>
+          <div className='flex'>
+            <div className='w-3/4 leading-7 product__description'>
+              <TabContent active={informationTab == 'description'}>
                 <span
                   dangerouslySetInnerHTML={{
                     __html:
@@ -236,10 +236,10 @@ const ProductDesktop = ({ product, wishlist, toggleWishlist }) => {
                         : 'Belum ada deskripsi produk.'
                   }}
                 />
-              </div>
-            </TabContent>
-
-            <TabContent active={informationTab == 'information'}>Belum ada informasi.</TabContent>
+              </TabContent>
+              
+              <TabContent active={informationTab == 'information'}>Belum ada informasi.</TabContent>
+            </div>
           </div>
         </div>
 
@@ -270,7 +270,7 @@ const TabButton = ({ children, active, ...props }) => {
   )
 }
 
-const TabContent = ({ children, active, className, ...props }) => (
+const TabContent = ({ children, active, className = '', ...props }) => (
   <div {...props} className={`${active ? 'block' : 'hidden'} ${className}`}>
     {children}
   </div>
-- 
cgit v1.2.3

