diff -r 183b128a4189 -r a642639dbc07 client/src/components/NoteInput.js --- a/client/src/components/NoteInput.js Mon Oct 08 03:30:54 2018 +0200 +++ b/client/src/components/NoteInput.js Mon Oct 08 04:09:19 2018 +0200 @@ -2,7 +2,7 @@ import PropTypes from 'prop-types'; import SlateEditor from './SlateEditor'; import { now } from '../utils'; - +import './NoteInput.css'; class NoteInput extends Component { @@ -35,9 +35,11 @@ startedAt: this.state.startedAt, finishedAt: now(), categories: categories, + // marginComment: marginComment, }); + this.refs.editor.clear(); setTimeout(() => this.refs.editor.focus(), 250); } @@ -54,8 +56,8 @@ render() { return (
-
-
+
+