diff -r 4b780ebbedc6 -r 0e6703cd0968 client/src/components/NoteInput.js --- a/client/src/components/NoteInput.js Tue Nov 13 16:46:15 2018 +0100 +++ b/client/src/components/NoteInput.js Fri Nov 16 11:19:13 2018 +0100 @@ -28,7 +28,7 @@ }); } - onAddNoteClick = () => { + submitNote = () => { const plain = this.editor.asPlain(); const raw = this.editor.asRaw(); @@ -52,10 +52,6 @@ setTimeout(() => this.editor.focus(), 250); } - onCheckboxChange = (e) => { - this.props.setAutoSubmit(e.target.checked); - } - componentDidMount() { if(this.editor) { const text = this.editor.asPlain(); @@ -70,10 +66,7 @@