improvement: better names in pages, folders and routes

This commit is contained in:
canove
2020-09-03 18:31:12 -03:00
parent 514f1c3b75
commit c032ec309a
12 changed files with 22 additions and 17 deletions

View File

@@ -100,11 +100,11 @@ const TicketListItem = ({ ticket }) => {
} catch (err) {
alert(err);
}
history.push(`/chat/${ticketId}`);
history.push(`/tickets/${ticketId}`);
};
const handleSelectTicket = (e, ticket) => {
history.push(`/chat/${ticket.id}`);
history.push(`/tickets/${ticket.id}`);
};
return (