Skip to content

Commit ef98cca

Browse files
committed
doh
1 parent 441108b commit ef98cca

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

documentation/docs/98-reference/.generated/client-errors.md

-2
Original file line numberDiff line numberDiff line change
@@ -151,8 +151,6 @@ This error occurs when state is updated while evaluating a `$derived`. You might
151151
This is forbidden because it introduces instability: if `<p>{count} is even: {even}</p>` is updated before `odd` is recalculated, `even` will be stale. In most cases the solution is to make everything derived:
152152

153153
```js
154-
let count = 0;
155-
// ---cut---
156154
let even = $derived(count % 2 === 0);
157155
let odd = $derived(!even);
158156
```

0 commit comments

Comments
 (0)