Skip to content

Commit 5ab0de1

Browse files
committed
fix: workaround incorrect "ownership_invalid_binding" warning
Rendering snippets with bind: values sometimes result in a warning See: sveltejs/svelte#14893
1 parent b44b1dc commit 5ab0de1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/modals/EditorModal.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
};
4343
</script>
4444

45-
<ModalBase {isOpen}>
45+
<ModalBase {isOpen} bind:artifact>
4646
<div class="modalHeader">
4747
<h3>Edit Artifact</h3>
4848
<h4>{character.replace("-", " ")}'s {type}</h4>

0 commit comments

Comments
 (0)