Skip to content

Commit

Permalink
fix: ueberdosis#3773 - Array for content breaks editor (ueberdosis#3786)
Browse files Browse the repository at this point in the history
* fix: ueberdosis#3773 - Array for content breaks editor

* fix: lint warning
  • Loading branch information
gethari authored Feb 24, 2023
1 parent 71cff5c commit df64839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/EditorContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export class PureEditorContent extends React.Component<EditorContentProps, Edito
// a lifecycle method.
if (this.initialized) {
queueMicrotask(() => {
flushSync(fn)
flushSync(fn)
})
} else {
fn()
Expand Down

0 comments on commit df64839

Please sign in to comment.