Clear map actions on reset

This commit is contained in:
Mitchell McCaffrey
2021-02-22 17:14:12 +11:00
parent d244471870
commit 53d4e05502
5 changed files with 11 additions and 10 deletions

View File

@@ -24,7 +24,7 @@ import useSetting from "../../hooks/useSetting";
function MapContols({
onMapChange,
onMapStateChange,
onMapReset,
currentMap,
currentMapState,
selectedToolId,
@@ -81,7 +81,7 @@ function MapContols({
component: (
<SelectMapButton
onMapChange={onMapChange}
onMapStateChange={onMapStateChange}
onMapReset={onMapReset}
currentMap={currentMap}
currentMapState={currentMapState}
disabled={disabledControls.includes("map")}