From 58ff2fa2b7b91d734177e83147704d188b573ccd Mon Sep 17 00:00:00 2001 From: Nils Martel Date: Tue, 15 Feb 2022 16:22:50 +0100 Subject: [PATCH] Simplify code --- apps/web/test1.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/apps/web/test1.html b/apps/web/test1.html index 5b881326d..3e8342a3b 100644 --- a/apps/web/test1.html +++ b/apps/web/test1.html @@ -490,9 +490,7 @@ rotate: degrees(-90), }); - const [normalPdfBytes] = await Promise.all([ - fetchBinaryAsset('pdfs/normal.pdf'), - ]); + const normalPdfBytes = await fetchBinaryAsset('pdfs/normal.pdf') const [ embeddedPage1,