Skip to content

Commit c2405a1

Browse files
authored
PR-fixing-sep-form-hook (#500)
1 parent b1e7d45 commit c2405a1

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

frontend/.eslintrc.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@
4444
"ignoreDestructuring": true
4545
}
4646
],
47-
"react-hooks/rules-of-hooks": "error",
48-
"react-hooks/exhaustive-deps": "warn"
47+
"react-hooks/rules-of-hooks": "error"
4948
}
5049
}

frontend/src/components/SepForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ const SepForm = ({
7171

7272
useEffect(() => {
7373
return handleClear
74-
})
74+
}, [])
7575

7676
useEffect(() => {
7777
participantStore.getSites()

0 commit comments

Comments
 (0)