Skip to content

Commit 7e9e78b

Browse files
authored
docs: Tutorial body had <svelte:body /> even though <svelte:document /> was the subject (#8396)
1 parent 33065aa commit 7e9e78b

File tree

1 file changed

+1
-1
lines changed
  • site/content/tutorial/16-special-elements/06-svelte-document/app-a

1 file changed

+1
-1
lines changed

site/content/tutorial/16-special-elements/06-svelte-document/app-a/App.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
const handleSelectionChange = (e) => selection = document.getSelection();
55
</script>
66

7-
<svelte:body />
7+
<svelte:document />
88

99
<p>Select this text to fire events</p>
1010
<p>Selection: {selection}</p>

0 commit comments

Comments
 (0)