You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
552 B
20 lines
552 B
import { configureStore } from '@reduxjs/toolkit';
|
|
|
|
import appReducer from './slices/appSlice';
|
|
import mapReducer from './slices/mapSlice';
|
|
import meshtasticReducer from './slices/meshtasticSlice';
|
|
|
|
export const store = configureStore({
|
|
reducer: {
|
|
app: appReducer,
|
|
meshtastic: meshtasticReducer,
|
|
map: mapReducer,
|
|
},
|
|
middleware: (getDefaultMiddleware) =>
|
|
getDefaultMiddleware({
|
|
serializableCheck: false,
|
|
}),
|
|
});
|
|
|
|
export type RootState = ReturnType<typeof store.getState>;
|
|
export type AppDispatch = typeof store.dispatch;
|
|
|