import { combineReducers } from "@reduxjs/toolkit";
import authreducer from "./authSlice";
import telemetryReducer from "./telemetrySlice";
import userReducer from "./userSlice";

const rootReducer = combineReducers({
  auth: authreducer,
  telemetry: telemetryReducer,
  user: userReducer,
});

export default rootReducer;
export type RootState = ReturnType<typeof rootReducer>;
