mirror of
https://github.com/cheveguerra/whaticket-community.git
synced 2026-04-18 11:49:19 +00:00
feat: update tickets list on transfer
This commit is contained in:
@@ -101,7 +101,7 @@ const Ticket = () => {
|
||||
|
||||
socket.on("ticket", data => {
|
||||
if (data.action === "updateStatus") {
|
||||
setTicket({ ...data.ticket, user: data.user });
|
||||
setTicket(data.ticket);
|
||||
}
|
||||
|
||||
if (data.action === "delete") {
|
||||
|
||||
Reference in New Issue
Block a user