Update App.svelte

Fixed showing <svelte:body /> where <svelte:document /> topic was  the current subjet.
pull/8396/head
Cavit Ertuğrul Sırt 4 years ago committed by GitHub
parent 33065aa1e6
commit 9d578cdc40
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -4,7 +4,7 @@
const handleSelectionChange = (e) => selection = document.getSelection(); const handleSelectionChange = (e) => selection = document.getSelection();
</script> </script>
<svelte:body /> <svelte:document />
<p>Select this text to fire events</p> <p>Select this text to fire events</p>
<p>Selection: {selection}</p> <p>Selection: {selection}</p>

Loading…
Cancel
Save