diff --git a/docs/Overview.md b/docs/Overview.md index 8a53222343..c960cc2e78 100644 --- a/docs/Overview.md +++ b/docs/Overview.md @@ -75,7 +75,7 @@ import 'draft-js/dist/Draft.css'; function MyEditor() { const [editorState, setEditorState] = React.useState( - EditorState.createEmpty(), + () => EditorState.createEmpty(), ); return ;