From bcae8017b07f19a1bef7db9b990a5faba5824b63 Mon Sep 17 00:00:00 2001 From: George Kazanchev <127313091+GeorgeKazanchev@users.noreply.github.com> Date: Wed, 18 Sep 2024 21:55:21 +0300 Subject: [PATCH] docs: fix typo We get "selectAllPosts" and "selectPostById" as a result of destructuring "postsSlice.selectors" field. --- docs/tutorials/essentials/part-4-using-data.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/tutorials/essentials/part-4-using-data.md b/docs/tutorials/essentials/part-4-using-data.md index 43d64382f6..bbfa528dc2 100644 --- a/docs/tutorials/essentials/part-4-using-data.md +++ b/docs/tutorials/essentials/part-4-using-data.md @@ -568,7 +568,7 @@ const postsSlice = createSlice({ // highlight-end }) -export const { postAdded, postUpdated } = postsSlice.selectors +export const { selectAllPosts, selectPostById } = postsSlice.selectors export default postsSlice.reducer