feat : ajout de commentaire
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user