diff options
| author | it-fixcomart <it@fixcomart.co.id> | 2024-07-23 10:07:46 +0700 |
|---|---|---|
| committer | it-fixcomart <it@fixcomart.co.id> | 2024-07-23 10:07:46 +0700 |
| commit | 1d770053ce0b75eab1d3755085d03c9d32fe3a83 (patch) | |
| tree | eabe7b3bb1aaf4c7a7c6d1079488d293828a332a /src/lib/home | |
| parent | cf48c684d2f8da4dd70e2ed0f57623169bc5106f (diff) | |
<iman> update error log
Diffstat (limited to 'src/lib/home')
| -rw-r--r-- | src/lib/home/components/CategoryPilihan.jsx | 4 |
1 files changed, 2 insertions, 2 deletions
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'> |
