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

const initialState = {
  pending: false,
  provinceNewRequests: null,
  provinceAllRequests: null,
  provincePrices: null,
  provinceUsers: null,
  provinceUserInfo: null,
  profile: null,
  provinceCars: null,
  killhouseRemainWeight: null,
};

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

export const { reducer: provinceSlice } = slice;
