Skip to content

Commit a24f93f

Browse files
Update errors.md
Co-authored-by: Simon H <[email protected]>
1 parent aa50bd7 commit a24f93f

File tree

1 file changed

+2
-2
lines changed
  • packages/svelte/messages/shared-errors

1 file changed

+2
-2
lines changed

packages/svelte/messages/shared-errors/errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,9 +71,9 @@ A component throwing this error will look something like this (`children` is not
7171
```svelte
7272
<!--- file: Parent.svelte --->
7373
<ChildComponent>
74-
{#slot label()}
74+
{#snippet label()}
7575
<span>Hi!</span>
76-
{/slot}
76+
{/snippet}
7777
</ChildComponent>
7878
```
7979

0 commit comments

Comments
 (0)