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