1 changed files with 0 additions and 5 deletions
@ -1,5 +0,0 @@ |
|||||
import { TypedUseSelectorHook, useDispatch, useSelector } from 'react-redux'; |
|
||||
import type { RootState, AppDispatch } from './store/store'; |
|
||||
|
|
||||
export const useAppDispatch = () => useDispatch<AppDispatch>(); |
|
||||
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector; |
|
||||
Loading…
Reference in new issue