Skip to content

Commit

Permalink
docs: fix type (#14064)
Browse files Browse the repository at this point in the history
this slot name should be `footer` instead it was `header`
  • Loading branch information
Anyass3 authored Oct 31, 2024
1 parent 4715dfa commit ca58039
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion documentation/docs/07-misc/07-v5-migration-guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ If you wanted multiple UI placeholders, you had to use named slots. In Svelte 5,
</main>
<footer>
---<slot name="header" />---
---<slot name="footer" />---
+++{@render footer()}+++
</footer>
```
Expand Down

0 comments on commit ca58039

Please sign in to comment.