diff options
Diffstat (limited to 'modern/src/map/overlay/MapOverlay.js')
-rw-r--r-- | modern/src/map/overlay/MapOverlay.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modern/src/map/overlay/MapOverlay.js b/modern/src/map/overlay/MapOverlay.js index 4db2153d..e436ea8d 100644 --- a/modern/src/map/overlay/MapOverlay.js +++ b/modern/src/map/overlay/MapOverlay.js @@ -31,7 +31,7 @@ const MapOverlay = () => { map.removeSource(id); } }; - }); + }, [id, activeOverlay]); return null; }; |