From 99aa3500fc5bbb3bb24d73461639e6fc88042a85 Mon Sep 17 00:00:00 2001 From: FIN-IT_AndriFP Date: Sat, 31 Jan 2026 13:55:14 +0700 Subject: fix description blink --- .../product-detail/components/ProductDetail.tsx | 62 ++++++++++++---------- 1 file changed, 34 insertions(+), 28 deletions(-) (limited to 'src-migrate') diff --git a/src-migrate/modules/product-detail/components/ProductDetail.tsx b/src-migrate/modules/product-detail/components/ProductDetail.tsx index 13350433..35726437 100644 --- a/src-migrate/modules/product-detail/components/ProductDetail.tsx +++ b/src-migrate/modules/product-detail/components/ProductDetail.tsx @@ -21,7 +21,8 @@ import { Box, Spinner, Center, - Text + Text, + Stack } from '@chakra-ui/react'; // Import Icons @@ -53,6 +54,7 @@ import dynamic from 'next/dynamic'; import ProductComparisonModal from './ProductComparisonModal'; import { gtagProductDetail } from '@/core/utils/googleTag'; +import Skeleton from 'react-loading-skeleton'; type Props = { product: IProductDetail; @@ -601,33 +603,37 @@ const ProductDetail = ({ product }: Props) => { {/* DESKRIPSI */} -
- +
+ {loadingSpecs ? ( + + + + + + + ) : ( + + )} +
-- cgit v1.2.3