mirror of
https://github.com/lemeow125/Borrowing-TrackerFrontend.git
synced 2024-11-17 06:19:27 +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) {
|
||||
setItem({ ...item, equipment: equipments.data[0].id });
|
||||
}
|
||||
// eslint-disable-next-line react-hooks/exhaustive-deps
|
||||
}, [equipments.data]);
|
||||
if (equipments.isLoading) {
|
||||
return (
|
||||
|
|
Loading…
Reference in a new issue