diff --git a/src/Components/AddItemModal/AddItemModal.tsx b/src/Components/AddItemModal/AddItemModal.tsx index 76ea5b6..09931d2 100644 --- a/src/Components/AddItemModal/AddItemModal.tsx +++ b/src/Components/AddItemModal/AddItemModal.tsx @@ -34,7 +34,7 @@ export default function AddItemModal() { if (equipments.data) { setItem({ ...item, equipment: equipments.data[0].id }); } - }, [equipments.data, item]); + }, [equipments.data]); if (equipments.isLoading) { return (