diff --git a/src/stores/tickets.ts b/src/stores/tickets.ts index f003498..0e110e4 100644 --- a/src/stores/tickets.ts +++ b/src/stores/tickets.ts @@ -19,7 +19,6 @@ export const useTicketStore = create()( ); export const setTickets = (tickets: Ticket[]) => useTicketStore.setState(({ tickets })); -export const addTickets = (tickets: Ticket[]) => useTicketStore.setState(state => ({ tickets: [...state.tickets, ...tickets] })); export const addOrUpdateTicket = (updatedTicket: Ticket) => { const state = useTicketStore.getState();