Skip to content

Commit 2668a7d

Browse files
authored
docs: delete the 'In Svelte 4' redundancy in the doc. (#12908)
* Update 20-load.md * Update 30-form-actions.md
1 parent 9776e7c commit 2668a7d

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

documentation/docs/20-core-concepts/20-load.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ export function load({ params }) {
3232
<div>{@html data.post.content}</div>
3333
```
3434

35-
> [!LEGACY] In Svelte 4
35+
> [!LEGACY]
3636
> In Svelte 4, you'd use `export let data` instead
3737
3838
Thanks to the generated `$types` module, we get full type safety.

documentation/docs/20-core-concepts/30-form-actions.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ export const actions = {
151151
{/if}
152152
```
153153
154-
> [!LEGACY] In Svelte 4
154+
> [!LEGACY]
155155
> In Svelte 4, you'd use `export let data` and `export let form` instead to declare properties
156156
157157
### Validation errors

0 commit comments

Comments
 (0)