identation code

pull/20/head
adriano 2023-06-19 21:02:50 -03:00
parent 8c44a21e89
commit 40f5840edf
2 changed files with 9 additions and 10 deletions

View File

@ -172,7 +172,7 @@ const Ticket = () => {
/>
</div>
<div className={classes.ticketActionButtons}>
<TicketActionButtons ticket={ticket} statusChatEnd={statusChatEnd}/>
<TicketActionButtons ticket={ticket} statusChatEnd={statusChatEnd} />
</div>
</TicketHeader>
<ReplyMessageProvider>

View File

@ -32,6 +32,7 @@ const useStyles = makeStyles(theme => ({
const TicketActionButtons = ({ ticket, statusChatEnd }) => {
const classes = useStyles();
const history = useHistory();
const [anchorEl, setAnchorEl] = useState(null);
const [loading, setLoading] = useState(false);
const [useDialogflow, setUseDialogflow] = useState(ticket.contact.useDialogflow);
@ -55,8 +56,6 @@ const TicketActionButtons = ({ ticket, statusChatEnd }) => {
data = { ...data, 'ticketId': ticket.id }
handleUpdateTicketStatus(null, "closed", user?.id, data)
}