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

@@ -9,7 +9,7 @@ import { useAuth } from "../../contexts/AuthContext";
function SelectMapButton({
onMapChange,
onMapStateChange,
onMapReset,
currentMap,
currentMapState,
disabled,
@@ -43,7 +43,7 @@ function SelectMapButton({
isOpen={isModalOpen}
onDone={handleDone}
onMapChange={onMapChange}
onMapStateChange={onMapStateChange}
onMapReset={onMapReset}
currentMap={currentMap}
/>
</>