initial commit
This commit is contained in:
5
apps/Frontend/src/redux/hooks.ts
Executable file
5
apps/Frontend/src/redux/hooks.ts
Executable file
@@ -0,0 +1,5 @@
|
||||
import { TypedUseSelectorHook, useDispatch, useSelector } from "react-redux";
|
||||
import type { RootState, AppDispatch } from "./store";
|
||||
|
||||
export const useAppDispatch: () => AppDispatch = useDispatch;
|
||||
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;
|
||||
Reference in New Issue
Block a user