mirror of
https://github.com/dsprenkels/backpack.git
synced 2026-01-13 05:47:57 -05:00
6 lines
239 B
TypeScript
6 lines
239 B
TypeScript
import { useDispatch, useSelector } from "react-redux";
|
|
import { AppDispatch, RootState } from "./store";
|
|
|
|
export const useAppDispatch = useDispatch.withTypes<AppDispatch>()
|
|
export const useAppSelector = useSelector.withTypes<RootState>()
|