Update errors.md

Co-authored-by: Simon H <5968653+dummdidumm@users.noreply.github.com>
pull/15766/head
Elliott Johnson 1 year ago committed by GitHub
parent aa50bd79c4
commit a24f93f49c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -71,9 +71,9 @@ A component throwing this error will look something like this (`children` is not
```svelte
<!--- file: Parent.svelte --->
<ChildComponent>
{#slot label()}
{#snippet label()}
<span>Hi!</span>
{/slot}
{/snippet}
</ChildComponent>
```

Loading…
Cancel
Save