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

const initialState = {
  pending: false,
  tickets: [],
  operatorTickets: [],
};

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

export const { reducer: ticketSlice } = slice;
