From 3c020236bd95ba485cc7cfb8b11e5972c49bb7b5 Mon Sep 17 00:00:00 2001
From: Rafi Zadanly <zadanlyr@gmail.com>
Date: Mon, 22 May 2023 16:54:34 +0700
Subject: delete animation on load

---
 src/components/ui/PopularProduct.jsx | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

(limited to 'src/components/ui/PopularProduct.jsx')

diff --git a/src/components/ui/PopularProduct.jsx b/src/components/ui/PopularProduct.jsx
index 9ca3e4ea..211291c8 100644
--- a/src/components/ui/PopularProduct.jsx
+++ b/src/components/ui/PopularProduct.jsx
@@ -5,7 +5,6 @@ import { useQuery } from 'react-query'
 import { PopularProductSkeleton } from '../skeleton/PopularProductSkeleton'
 import DesktopView from '@/core/components/views/DesktopView'
 import ProductCard from '@/lib/product/components/ProductCard'
-import AnimateOnLoad from './AnimateOnLoad'
 
 const PopularProduct = () => {
   const popularProduct = useQuery('popularProduct', popularProductApi())
@@ -14,7 +13,7 @@ const PopularProduct = () => {
 
   return (
     popularProduct.data && (
-      <AnimateOnLoad className='h-full'>
+      <>
         <MobileView>
           <div className='px-4'>
             <div className='font-medium mb-4'>Produk Banyak Dilihat</div>
@@ -37,7 +36,7 @@ const PopularProduct = () => {
             </div>
           </div>
         </DesktopView>
-      </AnimateOnLoad>
+      </>
     )
   )
 }
-- 
cgit v1.2.3

