import type { AppState } from '../slices' ; import { useSelector , useDispatch } from 'react-redux' ; export function useAppSelector < T > ( selector , equalityFn ? ) { return useSelector < AppState , T > ( selector , equalityFn ) ; } export const useAppDispatch = useDispatch ;