mirror of
https://github.com/vale981/ray
synced 2025-03-10 13:26:39 -04:00
11 lines
318 B
TypeScript
11 lines
318 B
TypeScript
import { configureStore } from "@reduxjs/toolkit";
|
|
import { dashboardReducer } from "./pages/dashboard/state";
|
|
|
|
export const store = configureStore({
|
|
reducer: {
|
|
dashboard: dashboardReducer,
|
|
},
|
|
devTools: process.env.NODE_ENV === "development",
|
|
});
|
|
|
|
export type StoreState = ReturnType<typeof store.getState>;
|