Skip to content

Commit

Permalink
fix: remove condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Ericlm committed Oct 26, 2024
1 parent 4f8b276 commit 0fb9b84
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vue-3/src/EditorContent.ts
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ export const EditorContent = defineComponent({
onBeforeUnmount(() => {
const editor = props.editor

if (!editor || !rootEl.value) {
if (!editor) {
return
}

Expand Down

0 comments on commit 0fb9b84

Please sign in to comment.