From a14b09f2a0f5540d0ea1307e574d46b7d233e331 Mon Sep 17 00:00:00 2001 From: Keannu Bernasol Date: Fri, 8 Dec 2023 20:26:03 +0800 Subject: [PATCH] Add es-lint line --- src/Components/AddItemModal/AddItemModal.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Components/AddItemModal/AddItemModal.tsx b/src/Components/AddItemModal/AddItemModal.tsx index 09931d2..50123a8 100644 --- a/src/Components/AddItemModal/AddItemModal.tsx +++ b/src/Components/AddItemModal/AddItemModal.tsx @@ -34,6 +34,7 @@ export default function AddItemModal() { if (equipments.data) { setItem({ ...item, equipment: equipments.data[0].id }); } + // eslint-disable-next-line react-hooks/exhaustive-deps }, [equipments.data]); if (equipments.isLoading) { return (