diff --git a/frontend/src/components/TicketsList/index.js b/frontend/src/components/TicketsList/index.js index 888f3f7..5ee0ae0 100644 --- a/frontend/src/components/TicketsList/index.js +++ b/frontend/src/components/TicketsList/index.js @@ -120,6 +120,8 @@ const reducer = (state, action) => { if (ticketIndex !== -1) { state[ticketIndex] = ticket; state.unshift(state.splice(ticketIndex, 1)[0]); + } else { + state.unshift(ticket); } return [...state];