Skip to content

Commit 2191d4e

Browse files
sync svelte docs
1 parent e8157a9 commit 2191d4e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

apps/svelte.dev/content/docs/svelte/98-reference/.generated/client-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ Cannot set prototype of `$state` object
125125
### state_unsafe_mutation
126126

127127
```
128-
Updating state inside a derived or a template expression is forbidden. If the value should not be reactive, declare it without `$state`
128+
Updating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`
129129
```
130130

131131
This error occurs when state is updated while evaluating a `$derived`. You might encounter it while trying to 'derive' two pieces of state in one go:

apps/svelte.dev/content/docs/svelte/98-reference/30-runtime-errors.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ Cannot set prototype of `$state` object
132132
### state_unsafe_mutation
133133

134134
```
135-
Updating state inside a derived or a template expression is forbidden. If the value should not be reactive, declare it without `$state`
135+
Updating state inside `$derived(...)`, `$inspect(...)` or a template expression is forbidden. If the value should not be reactive, declare it without `$state`
136136
```
137137

138138
This error occurs when state is updated while evaluating a `$derived`. You might encounter it while trying to 'derive' two pieces of state in one go:

0 commit comments

Comments
 (0)