import { createSlice } from "@reduxjs/toolkit";
import { inspectorExtraReducers } from "./inspectorExtraReducers";

const initialState = {
  inspectorNewRequests: null,
  pending: false,
  profile: null,
};

const slice = createSlice({
  name: "inspector",
  initialState,
  extraReducers: inspectorExtraReducers,
  reducers: {},
});

export const { reducer: inspectorSlice } = slice;
