We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5402f24 commit 24354a6Copy full SHA for 24354a6
website/versioned_docs/version-7.1/using-react-redux/static-types.md
@@ -61,7 +61,7 @@ export const useTypedSelector: TypedUseSelectorHook<RootState> = useSelector
61
// my-component.tsx
62
import { useTypedSelector } from './reducer.ts'
63
64
-const isOn = useSelector(state => state.isOn)
+const isOn = useTypedSelector(state => state.isOn)
65
```
66
67
### Typing the `useDispatch` hook
0 commit comments