asdf
This commit is contained in:
@@ -95,6 +95,11 @@ const Layout = ({ children }) => {
|
||||
href: '/admin/products',
|
||||
icon: BeakerIcon,
|
||||
},
|
||||
{
|
||||
name: 'Manage Equipment',
|
||||
href: '/admin/equipment',
|
||||
icon: WrenchScrewdriverIcon,
|
||||
},
|
||||
];
|
||||
|
||||
const handleLogout = () => {
|
||||
|
||||
@@ -376,7 +376,7 @@ const AdminEquipment = () => {
|
||||
</thead>
|
||||
<tbody className="bg-white divide-y divide-gray-200">
|
||||
{filteredEquipment.map((equip) => (
|
||||
<tr key={equip.id} className="hover:bg-gray-50">
|
||||
<tr key={`${equip.isShared ? 'shared' : 'custom'}-${equip.id}`} className="hover:bg-gray-50">
|
||||
<td className="px-6 py-4 whitespace-nowrap">
|
||||
<div className="flex items-center">
|
||||
<div className="h-10 w-10 rounded-full bg-orange-100 flex items-center justify-center">
|
||||
|
||||
Reference in New Issue
Block a user