import { configureStore } from '@reduxjs/toolkit'; import appReducer from './slices/appSlice'; import meshtasticReducer from './slices/meshtasticSlice'; export const store = configureStore({ reducer: { app: appReducer, meshtastic: meshtasticReducer, }, middleware: (getDefaultMiddleware) => getDefaultMiddleware({ serializableCheck: false, }), }); export type RootState = ReturnType; export type AppDispatch = typeof store.dispatch;