Add es-lint line

This commit is contained in:
Keannu Bernasol 2023-12-08 20:26:03 +08:00
parent 99d8449fc8
commit a14b09f2a0

View file

@ -34,6 +34,7 @@ export default function AddItemModal() {
if (equipments.data) { if (equipments.data) {
setItem({ ...item, equipment: equipments.data[0].id }); setItem({ ...item, equipment: equipments.data[0].id });
} }
// eslint-disable-next-line react-hooks/exhaustive-deps
}, [equipments.data]); }, [equipments.data]);
if (equipments.isLoading) { if (equipments.isLoading) {
return ( return (