Skip to content

Commit 36c61c4

Browse files
apply suggested changes
Co-authored-by: Sarah <hello@sarahgerrard.me>
1 parent b09489a commit 36c61c4

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
@@ -348,7 +348,7 @@ setStore("users", 3, "loggedIn" , (loggedIn) => !loggedIn)
348348
### Filtering values
349349

350350
To update elements in an array based on specific conditions, you can pass a function as an argument.
351-
This function will act as a filter, It receives the old value and index, giving you flexibility to apply logic that targets specific cases.
351+
This function acts as a filter, receiving the old value and index, and gives you the flexibility to apply logic that targets specific cases.
352352
This might include using methods like `.startsWith()`, `includes()`, or other comparison techniques to determine which elements should be updated.
353353

354354
```jsx

0 commit comments

Comments
 (0)