15 lines
416 B
JavaScript
15 lines
416 B
JavaScript
import { configureStore } from "@reduxjs/toolkit";
|
|
import authReducer from "./slices/authSlice";
|
|
import loadingReducer from "./slices/loadingSlice";
|
|
import toastReducer from "./slices/toastSlice";
|
|
import profileReducer from "./slices/profileSlice";
|
|
|
|
export const store = configureStore({
|
|
reducer: {
|
|
auth: authReducer,
|
|
loading: loadingReducer,
|
|
toast: toastReducer,
|
|
profile: profileReducer,
|
|
},
|
|
});
|