mirror of
https://bitbucket.org/wisemapping/wisemapping-frontend.git
synced 2024-12-25 21:03:50 +01:00
Fix export stop propagation
This commit is contained in:
parent
53ec19ffb5
commit
5d107ef841
@ -85,11 +85,13 @@ const ShareDialog = ({ mapId, onClose }: SimpleDialogProps): React.ReactElement
|
||||
const name = event.target.name;
|
||||
const value = event.target.value;
|
||||
setModel({ ...model, [name as keyof ShareModel]: value });
|
||||
event.stopPropagation();
|
||||
};
|
||||
|
||||
const handleOnAddClick = (event: React.MouseEvent<HTMLButtonElement, MouseEvent>): void => {
|
||||
event.stopPropagation();
|
||||
addMutation.mutate(model);
|
||||
event.stopPropagation();
|
||||
};
|
||||
|
||||
const handleOnDeleteClick = (
|
||||
|
Loading…
Reference in New Issue
Block a user