13 lines
324 B
TypeScript
13 lines
324 B
TypeScript
import { combineReducers, configureStore } from '@reduxjs/toolkit';
|
|
import themeConfigSlice from '@/store/themeConfigSlice';
|
|
|
|
const rootReducer = combineReducers({
|
|
themeConfig: themeConfigSlice,
|
|
});
|
|
|
|
export default configureStore({
|
|
reducer: rootReducer,
|
|
});
|
|
|
|
export type IRootState = ReturnType<typeof rootReducer>;
|