Skip to content

Commit

Permalink
style
Browse files Browse the repository at this point in the history
  • Loading branch information
simon louvet committed Jun 17, 2024
1 parent ffb574b commit 352b202
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion frontend/src/components/Map.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Map = () => {
if (!geoData && !loadingGeoData) {
fetchGeoData(dispatch, () => state);
}
}, [geoData, loadingGeoData, dispatch]);
}, [geoData, loadingGeoData, dispatch, state]);

useEffect(() => {
const handleResize = () => {
Expand Down
2 changes: 1 addition & 1 deletion frontend/src/components/SimpleFilterSelector.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ const DataDisplay = () => {
useEffect(() => {
fetchDataTopic(dispatch, () => state);
fetchDataDepartment(dispatch, () => state);
}, [dispatch]);
}, [dispatch, state]);

if (loading) {
return <div>Loading...</div>;
Expand Down

0 comments on commit 352b202

Please sign in to comment.