Skip to content

Commit e8dd4c6

Browse files
authored
Merge pull request #26 from heretoinfinity/instructions-edit
Rename variables readme.me instructions to fix bug
2 parents 6392380 + 64d740e commit e8dd4c6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ class Editor extends React.Component {
8585

8686
keyBindingFn = (evt) => {
8787
const { editorState } = this.state;
88-
if (!CodeUtils.hasSelectionInBlock(editorState)) return Draft.getDefaultKeyBinding(e);
88+
if (!CodeUtils.hasSelectionInBlock(editorState)) return Draft.getDefaultKeyBinding(evt);
8989

9090
const command = CodeUtils.getKeyBinding(evt);
9191

92-
return command || Draft.getDefaultKeyBinding(e);
92+
return command || Draft.getDefaultKeyBinding(evt);
9393
}
9494

9595
handleReturn = (evt) => {

0 commit comments

Comments
 (0)