Skip to content

Commit dcc2622

Browse files
authored
Update docs/using-react-redux/usage-with-typescript.md
1 parent 04ca479 commit dcc2622

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: docs/using-react-redux/usage-with-typescript.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ import type { RootState, AppDispatch } from './store'
6969

7070
// highlight-start
7171
// Use throughout your app instead of plain `useDispatch` and `useSelector`
72-
export const useAppDispatch = useDispatch.withTypes<RootState>()
72+
export const useAppDispatch = useDispatch.withTypes<AppDispatch>()
7373
export const useAppSelector = useSelector.withTypes<RootState>()
7474
// highlight-end
7575
```

0 commit comments

Comments
 (0)