diff -r 4b780ebbedc6 -r 0e6703cd0968 client/src/components/Note.js --- a/client/src/components/Note.js Tue Nov 13 16:46:15 2018 +0100 +++ b/client/src/components/Note.js Fri Nov 16 11:19:13 2018 +0100 @@ -25,7 +25,7 @@ this.props.onDelete(); } - onClickButton = (e) => { + submitNote = () => { const plain = this.editor.asPlain(); const raw = this.editor.asRaw(); @@ -56,7 +56,7 @@ return (