Skip to content

Commit d36076b

Browse files
authored
fix: Solid store example code error (#962)
1 parent 8de3f74 commit d36076b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/routes/concepts/stores.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ These functions receive the old value as an argument, allowing you to compute th
311311
This dynamic approach is particularly useful for complex transformations.
312312

313313
```jsx
314-
setStore("users", 3, (loggedIn) => !loggedIn)
314+
setStore("users", 3, "loggedIn" , (loggedIn) => !loggedIn)
315315
```
316316

317317
### Filtering values

0 commit comments

Comments
 (0)