diff --git a/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx b/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx index 1ead57e..9fcc0f4 100644 --- a/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx +++ b/src/Components/EditItemInstanceModal/EditItemInstanceModal.tsx @@ -44,6 +44,7 @@ export default function EditItemInstanceModal(props: { status: equipment.data.status, }); } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [equipment.data]); const update_mutation = useMutation({ diff --git a/src/Components/EditSKUModal/EditSKUModal.tsx b/src/Components/EditSKUModal/EditSKUModal.tsx index 713421e..35fed94 100644 --- a/src/Components/EditSKUModal/EditSKUModal.tsx +++ b/src/Components/EditSKUModal/EditSKUModal.tsx @@ -46,6 +46,7 @@ export default function EditSKUModal(props: { category: equipment.data.category, }); } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [equipment.data]); const update_mutation = useMutation({