Skip to content

Commit fc26987

Browse files
docs: Fix grammatical error in part-6-performance-normalization.md (#4816)
1 parent 78b2844 commit fc26987

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/tutorials/essentials/part-6-performance-normalization.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1298,7 +1298,7 @@ The only action we're handling here always replaces the entire list of users wit
12981298
12991299
We were already exporting the `selectAllUsers` and `selectUserById` selectors we'd written by hand. We can replace those with the versions generated by `usersAdapter.getSelectors()`.
13001300
1301-
We do now have a slight types mismatch with `selectUserById` - our `currentUsername` _can_ be `null` according to the types, but the generated `selectUserById` won't accept that. A simple fix is to check if exists and just return early if it doesn't.
1301+
We do now have a slight types mismatch with `selectUserById` - our `currentUsername` _can_ be `null` according to the types, but the generated `selectUserById` won't accept that. A simple fix is to check if it exists and just return early if it doesn't.
13021302
13031303
### Normalizing the Notifications Slice
13041304

0 commit comments

Comments
 (0)