import { configureStore } from '@reduxjs/toolkit' ; import { dashboardStateSlice } from './dashboard_state_slice' ; export const dashboardStateStore = configureStore ( { reducer : { dashboardStateReducer : dashboardStateSlice . reducer } , } ) ; export type DashboardRootState = ReturnType < typeof dashboardStateStore . getState > ; export type DashboardDispatch = typeof dashboardStateStore . dispatch ;