mirror of
https://github.com/wassname/ray.git
synced 2026-07-09 10:20:45 +08:00
825737adc5
Co-authored-by: Max Fitton <max@semprehealth.com>
12 lines
318 B
TypeScript
12 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>;
|