Live video on the AT Protocol
79
fork

Configure Feed

Select the types of activity you want to include in your feed.

at eli/windows-selftest-github 12 lines 711 B view raw
1// This file serves as a central hub for re-exporting pre-typed Redux hooks. 2// These imports are restricted elsewhere to ensure consistent 3// usage of typed hooks throughout the application. 4// We disable the ESLint rule here because this is the designated place 5// for importing and re-exporting the typed versions of hooks. 6/* eslint-disable @typescript-eslint/no-restricted-imports */ 7import { useDispatch, useSelector } from "react-redux"; 8import type { AppDispatch, RootState } from "./store"; 9 10// Use throughout your app instead of plain `useDispatch` and `useSelector` 11export const useAppDispatch = useDispatch.withTypes<AppDispatch>(); 12export const useAppSelector = useSelector.withTypes<RootState>();