From 1d770053ce0b75eab1d3755085d03c9d32fe3a83 Mon Sep 17 00:00:00 2001
From: it-fixcomart <it@fixcomart.co.id>
Date: Tue, 23 Jul 2024 10:07:46 +0700
Subject: <iman> update error log

---
 src/lib/home/components/CategoryPilihan.jsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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

diff --git a/src/lib/home/components/CategoryPilihan.jsx b/src/lib/home/components/CategoryPilihan.jsx
index 7b9f0094..73e42626 100644
--- a/src/lib/home/components/CategoryPilihan.jsx
+++ b/src/lib/home/components/CategoryPilihan.jsx
@@ -20,7 +20,7 @@ const CategoryPilihan = ({ id, categories }) => {
         <div className='flex w-full h-48 bg-red-300 mb-4'>
             {heroBanner.data &&
                 heroBanner.data?.length > 0 && (
-                    <div className='px-4 sm:px-0  object-fill '>
+                    <div key={heroBanner.data.id} className='px-4 sm:px-0  object-fill '>
                         {/* {heroBanner.data?.map((banner) => ( */}
                             <Link key={heroBanner.data[0].id} href={heroBanner.data[0].url}>
                                 <Image
@@ -39,7 +39,7 @@ const CategoryPilihan = ({ id, categories }) => {
         </div>
         <div className="group/item grid grid-cols-6 gap-y-2 w-full h-full col-span-2 ">
                 {categories.map((category) => (
-                    <div className="KartuInti h-48 w-60 max-w-sm   lg:max-w-full flex flex-col   border-[1px] border-gray-200  relative group">
+                    <div key={category.id} className="KartuInti h-48 w-60 max-w-sm   lg:max-w-full flex flex-col   border-[1px] border-gray-200  relative group">
                         <div className='KartuB absolute h-48 w-60 inset-0 flex items-center justify-center '>
                             <div className="group/edit flex items-center justify-center h-48 w-60  flex-col group-hover/item:visible">
                                 <div className=' h-36'>
-- 
cgit v1.2.3

