diff --git a/frontend/src/components/AdminDashboard.tsx b/frontend/src/components/AdminDashboard.tsx index 26e81c5..221bb88 100644 --- a/frontend/src/components/AdminDashboard.tsx +++ b/frontend/src/components/AdminDashboard.tsx @@ -296,11 +296,13 @@ function AdminStockItem({ item, onUpdate, onDelete }: any) {
{!isEditing ? (
+ {item.category}

{item.name}

{item.description}

) : (
+ setEditData({ ...editData, category: e.target.value })} className="bg-black text-stone-500 border border-stone-700 rounded px-2 py-0.5 text-[10px] font-bold uppercase tracking-widest w-32" placeholder="Meat Type (e.g. Beef)" /> setEditData({ ...editData, name: e.target.value })} className="bg-black text-white border border-stone-700 rounded px-2 py-1 font-bold w-full" placeholder="Item Name" />