docs: typo in ## script_context_deprecated (#14694)

* Fix typo in ## script_context_deprecated

Changed +++context+++ to +++module+++

* regenerate

---------

Co-authored-by: Rich Harris <rich.harris@vercel.com>
pull/14689/head
waedi 9 months ago committed by GitHub
parent 5e8d6edcf8
commit 65db409860
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -775,7 +775,7 @@ Reassignments of module-level declarations will not cause reactive statements to
```
```svelte
<script ---context="module"--- +++context+++>
<script ---context="module"--- +++module+++>
let foo = 'bar';
</script>
```

@ -57,7 +57,7 @@ This code will work when the component is rendered on the client (which is why t
> `context="module"` is deprecated, use the `module` attribute instead
```svelte
<script ---context="module"--- +++context+++>
<script ---context="module"--- +++module+++>
let foo = 'bar';
</script>
```

Loading…
Cancel
Save