Skip to content

Commit

Permalink
style: remove unneeded if statement
Browse files Browse the repository at this point in the history
  • Loading branch information
bdbch committed Feb 27, 2023
1 parent 78b9355 commit 880ac5d
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions packages/react/src/EditorContent.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -115,9 +115,7 @@ export class PureEditorContent extends React.Component<EditorContentProps, Edito
return
}

if (this.initialized) {
this.initialized = false
}
this.initialized = false

if (!editor.isDestroyed) {
editor.view.setProps({
Expand Down

0 comments on commit 880ac5d

Please sign in to comment.