From e5f75cf0be2cfc8243f668d6fcf7578a43583020 Mon Sep 17 00:00:00 2001 From: adriano Date: Sat, 26 Feb 2022 14:16:31 -0300 Subject: [PATCH] =?UTF-8?q?Salvando=20altera=C3=A7=C3=B5es=20antes=20de=20?= =?UTF-8?q?iplementar=20o=20Agendamento=20ao=20final=20do=20atendimento?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- frontend/src/components/TicketActionButtons/index.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/frontend/src/components/TicketActionButtons/index.js b/frontend/src/components/TicketActionButtons/index.js index c466fb0..f37e0bc 100644 --- a/frontend/src/components/TicketActionButtons/index.js +++ b/frontend/src/components/TicketActionButtons/index.js @@ -41,6 +41,8 @@ const TicketActionButtons = ({ ticket }) => { }; const handleUpdateTicketStatus = async (e, status, userId) => { + + setLoading(true); try { await api.put(`/tickets/${ticket.id}`, {