* Reorganize repo * Overhaul website design and rewrite in NextJS and Typescript * Delete website-publish.yml
8 lines
310 B
TypeScript
8 lines
310 B
TypeScript
import { useDispatch, useSelector } from 'react-redux';
|
|
|
|
import type { RootState, AppDispatch } from './index';
|
|
import type { TypedUseSelectorHook } from 'react-redux';
|
|
|
|
export const useAppDispatch = () => useDispatch<AppDispatch>();
|
|
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;
|