diff --git a/src/store/hooks.ts b/src/store/hooks.ts deleted file mode 100644 index 59c8417..0000000 --- a/src/store/hooks.ts +++ /dev/null @@ -1,5 +0,0 @@ -import { useDispatch, useSelector, type TypedUseSelectorHook } from "react-redux"; -import type { RootState, AppDispatch } from "./index"; - -export const useAppDispatch = () => useDispatch(); -export const useAppSelector: TypedUseSelectorHook = useSelector; \ No newline at end of file diff --git a/src/store/index.ts b/src/store/index.ts deleted file mode 100644 index 30d7119..0000000 --- a/src/store/index.ts +++ /dev/null @@ -1,8 +0,0 @@ -import { configureStore } from "@reduxjs/toolkit"; - -export const store = configureStore({ - reducer: {}, -}); - -export type RootState = ReturnType; -export type AppDispatch = typeof store.dispatch; \ No newline at end of file