fix: harden machine session fallback and clean lint

This commit is contained in:
Esdras Renan 2025-10-19 03:16:50 -03:00
parent 2607ca5ce3
commit 846e575637
6 changed files with 60 additions and 32 deletions

View file

@ -635,7 +635,7 @@ function PortalCommentAttachmentCard({
window.open(target, "_blank", "noopener,noreferrer")
toast.error("Não foi possível baixar o anexo automaticamente.", { id: toastId })
}
}, [attachment.name, ensureUrl])
}, [attachment.id, attachment.name, ensureUrl])
const resolvedUrl = url