From 0a4d5a081eb2719b43d9f6cb2939a91b9b47208c Mon Sep 17 00:00:00 2001 From: canove Date: Mon, 11 Jan 2021 08:17:49 -0300 Subject: [PATCH] chore: code cleanup --- frontend/src/components/TicketsList/index.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/frontend/src/components/TicketsList/index.js b/frontend/src/components/TicketsList/index.js index f26e184..addd137 100644 --- a/frontend/src/components/TicketsList/index.js +++ b/frontend/src/components/TicketsList/index.js @@ -100,8 +100,6 @@ const reducer = (state, action) => { if (action.type === "UPDATE_TICKET") { const ticket = action.payload; - console.log("TICKET", ticket); - const ticketIndex = state.findIndex(t => t.id === ticket.id); if (ticketIndex !== -1) { state[ticketIndex] = ticket;