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}`, {