Skip to content

Commit 312bca3

Browse files
author
Matthew Wonlaw
authored
missing this in state initialization
1 parent 231f18d commit 312bca3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ const plugins = [createMarkdownShortcutsPlugin()];
3737
export default class DemoEditor extends Component {
3838
constructor(props) {
3939
super(props);
40-
state = {
40+
this.state = {
4141
editorState: EditorState.createEmpty(),
4242
};
4343
}

0 commit comments

Comments
 (0)