diff --git a/website/versioned_docs/version-7.1/using-react-redux/static-types.md b/website/versioned_docs/version-7.1/using-react-redux/static-types.md index 165fe152d..e6538b17c 100644 --- a/website/versioned_docs/version-7.1/using-react-redux/static-types.md +++ b/website/versioned_docs/version-7.1/using-react-redux/static-types.md @@ -61,7 +61,7 @@ export const useTypedSelector: TypedUseSelectorHook = useSelector // my-component.tsx import { useTypedSelector } from './reducer.ts' -const isOn = useSelector(state => state.isOn) +const isOn = useTypedSelector(state => state.isOn) ``` ### Typing the `useDispatch` hook