Skip to content

Commit

Permalink
fix: Solid store example code error (#962)
Browse files Browse the repository at this point in the history
  • Loading branch information
corazoan authored Nov 24, 2024
1 parent 8de3f74 commit d36076b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/routes/concepts/stores.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ These functions receive the old value as an argument, allowing you to compute th
This dynamic approach is particularly useful for complex transformations.

```jsx
setStore("users", 3, (loggedIn) => !loggedIn)
setStore("users", 3, "loggedIn" , (loggedIn) => !loggedIn)
```

### Filtering values
Expand Down

0 comments on commit d36076b

Please sign in to comment.