From c62a5dd32e961f06a01d0a535d2fbf37118ff2e7 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Tue, 30 Jul 2024 16:09:07 +0700
Subject: <iman> add key missing

---
 src/lib/home/components/CategoryDynamic.jsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/lib/home/components/CategoryDynamic.jsx')

diff --git a/src/lib/home/components/CategoryDynamic.jsx b/src/lib/home/components/CategoryDynamic.jsx
index dda7cdc4..60e01df0 100644
--- a/src/lib/home/components/CategoryDynamic.jsx
+++ b/src/lib/home/components/CategoryDynamic.jsx
@@ -46,7 +46,7 @@ const CategoryDynamic = () => {
           const countLevel1 = categoryData[category.categoryIdI] || 0;
           
           return (
-            <Skeleton isLoaded={categoryManagement}>
+            <Skeleton key={category.id} isLoaded={categoryManagement}>
             <div key={category.id}>
               <div className='bagian-judul flex flex-row justify-start items-center gap-3 mb-4 mt-4'>
                 <div className='font-semibold sm:text-h-lg mr-2'>{category.name}</div>
-- 
cgit v1.2.3

