Skip to content

Commit

Permalink
fix disable linter warning for useEffect hook
Browse files Browse the repository at this point in the history
  • Loading branch information
avidrucker committed Nov 8, 2023
1 parent f3471c0 commit f4603f9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ function App() {
console.log("rebuilding query params from local storage")
handleListChange(initialTasks);
}

// eslint-disable-next-line
}, []); // The empty dependency array ensures this effect runs once on mount

useEffect(()=>{
Expand Down

0 comments on commit f4603f9

Please sign in to comment.