Installed reduxjs/toolkit. Added first slice and the basic store for the project.
10 lines
243 B
TypeScript
10 lines
243 B
TypeScript
import { configureStore, combineReducers } from "@reduxjs/toolkit";
|
|
|
|
import pageDimensions from "./features/pageDimensions/pageDimensionsSlice";
|
|
|
|
export const store = configureStore({
|
|
reducer: combineReducers({
|
|
pageDimensions,
|
|
}),
|
|
});
|