refactor: remove unused Redux store hooks

Delete obsolete Redux store configuration files as part of
the Zustand migration. These files are no longer referenced
after the store refactor.
This commit is contained in:
ZhenYi 2026-05-14 21:49:37 +08:00
parent a1d245a767
commit f4397256bd
2 changed files with 0 additions and 13 deletions

View File

@ -1,5 +0,0 @@
import { useDispatch, useSelector, type TypedUseSelectorHook } from "react-redux";
import type { RootState, AppDispatch } from "./index";
export const useAppDispatch = () => useDispatch<AppDispatch>();
export const useAppSelector: TypedUseSelectorHook<RootState> = useSelector;

View File

@ -1,8 +0,0 @@
import { configureStore } from "@reduxjs/toolkit";
export const store = configureStore({
reducer: {},
});
export type RootState = ReturnType<typeof store.getState>;
export type AppDispatch = typeof store.dispatch;