Skip to content

Commit 11d53c7

Browse files
Update: Usage Guide
Co-authored-by: Matt Sutkowski <[email protected]>
1 parent 4280166 commit 11d53c7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/usage/usage-guide.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -997,7 +997,7 @@ export const usersAdapter = createEntityAdapter({
997997
`createEntityAdapter` provides a `sortComparer` argument that you can leverage to sort the collection of `ids` in state. This can be very useful for when you want to guarantee a sort order and your data doesn't come presorted.
998998

999999
```js
1000-
// In this instance, our user data always has a primary key of `id`
1000+
// In this instance, our user data always has a primary key of `id`, so we do not need to provide `selectId`.
10011001
const userData = {
10021002
users: [
10031003
{ id: 1, first_name: 'Test' },

0 commit comments

Comments
 (0)