You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
5 lines
279 B
5 lines
279 B
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;
|