-
Notifications
You must be signed in to change notification settings - Fork 54
[BUG] useEffect has a missing dependency #143
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't workingdevopsThis is a devops feature or issueThis is a devops feature or issuefrontendWork on FrontendWork on Frontendgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Milestone
Description
Activity
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingdevopsThis is a devops feature or issueThis is a devops feature or issuefrontendWork on FrontendWork on Frontendgood first issueGood for newcomersGood for newcomershelp wantedExtra attention is neededExtra attention is neededquestionFurther information is requestedFurther information is requested
Projects
- StatusShow more project fieldsDone
After the recent merges and features, I am now getting this warning/error:
[eslint]
src/pages/Home/Home.jsx
Line 58:8: React Hook useEffect has a missing dependency: 'location.state.loggin'. Either include it or remove the dependency array react-hooks/exhaustive-deps
Search for the keywords to learn more about each warning.
To ignore, add // eslint-disable-next-line to the line before.
WARNING in [eslint]
src/pages/Home/Home.jsx
Line 58:8: React Hook useEffect has a missing dependency: 'location.state.loggin'. Either include it or remove the dependency array react-hooks/exhaustive-deps
webpack compiled with 1 warning
I thought this may be because login is misspelled
loggin, but even with correcting the spelling still has a missing dep warning.