inital commit

This commit is contained in:
2024-02-25 06:06:21 +03:00
commit 74c2dfa827
25 changed files with 427 additions and 0 deletions

10
src/redux/store.ts Normal file
View File

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