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

const initialState = {
  pending: false,
  profile: null,
  newRequests: [],
  slaughterHouseVetComplaints: null,
};

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

export const { reducer: slaughterHouseVetSlice } = slice;
