maccounter
5 строк · 268.0 Байт
1import { AppDispatch, State } from '@store/redux-store'
2import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'
3
4export const useAppDispatch = () => useDispatch<AppDispatch>()
5export const useAppSelector: TypedUseSelectorHook<State> = useSelector
6