Skip to content

Commit a9fffe9

Browse files
authored
Merge pull request #4823 from BonaventureCJ/patch-3
Use typed useDispatch in PostsList example
2 parents ebf35b9 + bf9e2ce commit a9fffe9

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
@@ -1213,7 +1213,7 @@ function PostExcerpt({ postId }: PostExcerptProps) {
12131213
}
12141214

12151215
export const PostsList = () => {
1216-
const dispatch = useDispatch()
1216+
const dispatch = useAppDispatch()
12171217
// highlight-next-line
12181218
const orderedPostIds = useAppSelector(selectPostIds)
12191219

0 commit comments

Comments
 (0)