summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorIT Fixcomart <it@fixcomart.co.id>2024-07-29 10:17:53 +0000
committerIT Fixcomart <it@fixcomart.co.id>2024-07-29 10:17:53 +0000
commit50f0173e5b644a877bfd98f5e34dd96ddf88b8a5 (patch)
tree6924d0b33ede55c6dac494af02d2e12d1299219d /src/lib
parent183e81ec22b7fb4e164fb222fa772c3765fa691a (diff)
parent7f060ad3f3d938a462292721b9c54d1cb9140ad3 (diff)
Merged in Feature/category-management (pull request #181)
<iman> update category managemrnt
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/home/components/CategoryPilihan.jsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/home/components/CategoryPilihan.jsx b/src/lib/home/components/CategoryPilihan.jsx
index 6efc1070..451d289e 100644
--- a/src/lib/home/components/CategoryPilihan.jsx
+++ b/src/lib/home/components/CategoryPilihan.jsx
@@ -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 ">
{categoryPilihan?.data?.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-end h-48 w-60 flex-col group-hover/item:visible">
<div className=' h-36 flex justify-end items-end'>