diff --git a/src/EditorContent.tsx b/src/EditorContent.tsx index 9f159c519..0a7ea7732 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() }