Skip to content

Commit

Permalink
missing this in state initialization
Browse files Browse the repository at this point in the history
  • Loading branch information
Matthew Wonlaw authored Aug 15, 2020
1 parent 231f18d commit 312bca3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const plugins = [createMarkdownShortcutsPlugin()];
export default class DemoEditor extends Component {
constructor(props) {
super(props);
state = {
this.state = {
editorState: EditorState.createEmpty(),
};
}
Expand Down

0 comments on commit 312bca3

Please sign in to comment.