pass Enter event otherwise crash

This commit is contained in:
or-else
2018-12-25 11:08:57 +03:00
parent 4c44b61a9d
commit d80ddcabea
5 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -43,7 +43,7 @@ export default class InPlaceEdit extends React.Component {
this.setState({value: this.props.value, active: false});
} else if (e.keyCode === 13) {
// Enter pressed
this.handleEditingFinished();
this.handleEditingFinished(e);
}
}