diff --git a/packages/webapp/src/components/maps-page/action-dispatcher/index.tsx b/packages/webapp/src/components/maps-page/action-dispatcher/index.tsx index c379dbd0..3e21b015 100644 --- a/packages/webapp/src/components/maps-page/action-dispatcher/index.tsx +++ b/packages/webapp/src/components/maps-page/action-dispatcher/index.tsx @@ -27,8 +27,8 @@ type ActionDialogProps = { }; const ActionDispatcher = ({ mapsId, action, onClose, fromEditor }: ActionDialogProps): React.ReactElement => { - const handleOnClose = (): void => { - onClose(); + const handleOnClose = (success?: boolean): void => { + onClose(success); }; switch (action) {