From 8cf72484eff4c019fe1dc44f9287a8be9ffb54db Mon Sep 17 00:00:00 2001 From: "Bonaventure C. J. Ugwu" <73999585+BonaventureCJ@users.noreply.github.com> Date: Wed, 15 Oct 2025 15:52:29 +0100 Subject: [PATCH] docs: Fix grammatical error in part-6-performance-normalization.md Corrects the sentence "A simple fix is to check if exists" to "A simple fix is to check if it exists" on line 1301 of part-6-performance-normalization.md This change clarifies the sentence by providing a subject for the verb "exists". The corrected phrasing improves the overall readability and adherence to standard English grammar. --- docs/tutorials/essentials/part-6-performance-normalization.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/essentials/part-6-performance-normalization.md b/docs/tutorials/essentials/part-6-performance-normalization.md index 7c1ed554ad..c0889a37cf 100644 --- a/docs/tutorials/essentials/part-6-performance-normalization.md +++ b/docs/tutorials/essentials/part-6-performance-normalization.md @@ -1298,7 +1298,7 @@ The only action we're handling here always replaces the entire list of users wit 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()`. -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. +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. ### Normalizing the Notifications Slice