Loading src/hooks/index.ts 0 → 100644 +1 −0 Original line number Diff line number Diff line export * from './use-app-store-hooks'; src/hooks/use-app-store-hooks.ts 0 → 100644 +6 −0 Original line number Diff line number Diff line import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'; import { AppDispatch, RootState } from '@/store'; export const useAppDispatch = useDispatch.withTypes<AppDispatch>(); export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector; Loading
src/hooks/index.ts 0 → 100644 +1 −0 Original line number Diff line number Diff line export * from './use-app-store-hooks';
src/hooks/use-app-store-hooks.ts 0 → 100644 +6 −0 Original line number Diff line number Diff line import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'; import { AppDispatch, RootState } from '@/store'; export const useAppDispatch = useDispatch.withTypes<AppDispatch>(); export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;