4b9c7d3e0d
Also update GitHub repository URLs and labels in hero layout.
6 lines
242 B
TypeScript
6 lines
242 B
TypeScript
import { useDispatch, useSelector } from "react-redux"
|
|
import type { AppDispatch, RootState } from "@/store"
|
|
|
|
export const useAppDispatch = useDispatch.withTypes<AppDispatch>()
|
|
export const useAppSelector = useSelector.withTypes<RootState>()
|