Remoçã de algumas linhas

pull/20/head
adriano 2022-08-09 18:43:51 -03:00
parent 8c2164c5a2
commit 072fcd5b09
1 changed files with 6 additions and 6 deletions

View File

@ -267,8 +267,9 @@ const Dashboard = () => {
socket.on("ticketStatus", (data) => { socket.on("ticketStatus", (data) => {
if (data.action === "update") { if (data.action === "update") {
setStatus('')
setStatus(data.ticketStatus.status); // setStatus({...ticketStatusChange}, data.ticketStatus.status )
} }
}); });
@ -296,7 +297,6 @@ const Dashboard = () => {
useEffect(() => { useEffect(() => {
if (ticketStatusChange === '') return
const delayDebounceFn = setTimeout(() => { const delayDebounceFn = setTimeout(() => {
const fetchQueries = async () => { const fetchQueries = async () => {