feat : ajout de commentaire

This commit is contained in:
2026-01-30 09:12:59 +01:00
parent 81e624100d
commit c0f113547e
6 changed files with 66 additions and 12 deletions

View File

@@ -24,7 +24,7 @@ export const usePdfPrinter = () => {
a.click();
a.remove();
window.open(blobUrl, '_blank', 'noopener,noreferrer');
// L'ouverture dans un nouvel onglet déclenche un 2e PDF sans le nom personnalisé.
setTimeout(() => URL.revokeObjectURL(blobUrl), 60_000);
}