Skip to content
This repository has been archived by the owner on Nov 3, 2022. It is now read-only.

Commit

Permalink
[#830] cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Pozzi committed Dec 27, 2021
1 parent 7afea08 commit 4b2172f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions src/main/app/src/Components/Landscape/Map/Map.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,8 @@ const Map: React.FC<Props> = ({ setPageTitle }) => {
*/
useEffect(() => {
loadMap();
setSidebarContent(null);
applyAssessment();
}, [landscapeContext.identifier, loadMap, setSidebarContent, applyAssessment]);
}, [landscapeContext.identifier, loadMap, applyAssessment]);

//load landscape
useEffect(() => {
Expand Down

0 comments on commit 4b2172f

Please sign in to comment.