diff --git a/src/EditorContent.tsx b/src/EditorContent.tsx index 9f159c51909..0a7ea773238 100644 --- a/src/EditorContent.tsx +++ b/src/EditorContent.tsx @@ -75,9 +75,7 @@ export class PureEditorContent extends React.Component { - flushSync(fn) - }) + flushSync(fn) } else { fn() }