2026-05-07 10:46:06 +08:00
|
|
|
import { useDispatch, useSelector } from "react-redux"
|
2026-05-12 09:08:37 +08:00
|
|
|
import type { AppDispatch, RootState } from "@/store"
|
2026-05-07 10:46:06 +08:00
|
|
|
|
|
|
|
|
export const useAppDispatch = useDispatch.withTypes<AppDispatch>()
|
|
|
|
|
export const useAppSelector = useSelector.withTypes<RootState>()
|