Skip to content

Commit 336b878

Browse files
committed
another
1 parent 5edbc9b commit 336b878

File tree

1 file changed

+2
-2
lines changed
  • packages/svelte/messages/client-errors

1 file changed

+2
-2
lines changed

packages/svelte/messages/client-errors/errors.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,10 +79,10 @@ $effect(() => {
7979
The same applies to array mutations, since these both read and write to the array:
8080

8181
```js
82-
let array = $state([]);
82+
let array = $state(['hello']);
8383

8484
$effect(() => {
85-
array.push('hello');
85+
array.push('goodbye');
8686
});
8787
```
8888

0 commit comments

Comments
 (0)