mirror of
https://github.com/muerwre/orchidmap-front.git
synced 2025-04-25 11:06:40 +07:00
redux: fixed bugs
This commit is contained in:
parent
0f3217f5df
commit
5d14a753f7
6 changed files with 20 additions and 31 deletions
|
@ -11,10 +11,10 @@ type Props = {
|
|||
|
||||
export class CancelDialog extends React.Component<Props, void> {
|
||||
cancel = () => {
|
||||
editor.cancelEditing();
|
||||
// this.props.stopEditing();
|
||||
this.props.setEditing(false);
|
||||
this.props.setMode(MODES.NONE);
|
||||
this.props.stopEditing();
|
||||
// editor.cancelEditing();
|
||||
// this.props.setEditing(false);
|
||||
// this.props.setMode(MODES.NONE);
|
||||
};
|
||||
|
||||
proceed = () => {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue