mirror of
https://github.com/lemeow125/EquipmentTracker-Frontend.git
synced 2024-11-17 06:09:25 +08:00
Add es-lint line
This commit is contained in:
parent
99d8449fc8
commit
a14b09f2a0
1 changed files with 1 additions and 0 deletions
|
@ -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 (
|
||||||
|
|
Loading…
Reference in a new issue