mirror of
https://github.com/magnum-opus-tender-hack/frontend.git
synced 2024-11-22 08:16:35 +03:00
6 lines
300 B
TypeScript
6 lines
300 B
TypeScript
import { useDispatch, useSelector } from 'react-redux'
|
|
import type { TypedUseSelectorHook } from 'react-redux'
|
|
import type { RootType, AppDispatch } from '../store'
|
|
|
|
export const useAppDispatch: () => AppDispatch = useDispatch
|
|
export const useAppSelector: TypedUseSelectorHook<RootType> = useSelector |