even though it's being added to the function PostsList for the first time.
You can verify this line is new by looking at the two previous pages, Basic Redux Data Flow and Using Redux Data, and searching for features/posts/PostsList.tsx using Ctrl + F. If you look at the previous code blocks none of them included useAppDispatch()
What should be changed to fix the problem?
Make it so that the line is highlighted like the other lines to show that it's new.
What docs page needs to be fixed?
https://redux.js.org/tutorials/essentials/part-5-async-logic#dispatching-thunks-from-components
What is the problem?
There's no highlight for the line
even though it's being added to the function PostsList for the first time.
You can verify this line is new by looking at the two previous pages, Basic Redux Data Flow and Using Redux Data, and searching for
features/posts/PostsList.tsx
using Ctrl + F. If you look at the previous code blocks none of them includeduseAppDispatch()
What should be changed to fix the problem?
Make it so that the line is highlighted like the other lines to show that it's new.