refactor: move typed Redux hooks from src/store/hooks.ts to src/hooks/store.ts

Also update GitHub repository URLs and labels in hero layout.
This commit is contained in:
siujamo
2026-05-12 09:08:37 +08:00
parent b2fea5df8e
commit 4b9c7d3e0d
4 changed files with 4 additions and 5 deletions
+5
View File
@@ -0,0 +1,5 @@
import { useDispatch, useSelector } from "react-redux"
import type { AppDispatch, RootState } from "@/store"
export const useAppDispatch = useDispatch.withTypes<AppDispatch>()
export const useAppSelector = useSelector.withTypes<RootState>()