diff --git a/src/routes/concepts/stores.mdx b/src/routes/concepts/stores.mdx index dad294687..a151a9ee9 100644 --- a/src/routes/concepts/stores.mdx +++ b/src/routes/concepts/stores.mdx @@ -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