This commit is contained in:
2024-03-03 07:23:41 +03:00
parent d43c0a5839
commit 0db252bb27
57 changed files with 1707 additions and 105 deletions

View File

@@ -1,8 +1,11 @@
import {configureStore} from "@reduxjs/toolkit";
import {useDispatch} from "react-redux";
import authReducer from '../features/authSlice';
export const store = configureStore({
reducer: {}
reducer: {
auth: authReducer
}
});
export type RootState = ReturnType<typeof store.getState>;