Skip to content

Commit

Permalink
fix: element throwing null error in modal
Browse files Browse the repository at this point in the history
  • Loading branch information
thesiti92 authored Sep 30, 2024
1 parent 6566e63 commit 85491fc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/lib/EditorContent.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,10 @@
const init = async () => {
await tick();
if (!element) {
return;
}
if (!editor?.options.element) {
return;
}
Expand Down

0 comments on commit 85491fc

Please sign in to comment.