Skip to content

Commit 059971e

Browse files
committed
Try to satisfy linter which only fails on CI
1 parent 40e70e4 commit 059971e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pdf/src/renderer/reactPdfRenderer.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ export async function renderPdfStructureToReactPdf(
1313
await onProgress('layoutDocument')
1414

1515
let page = 0
16-
addEventListener('layoutPage', async () => {
16+
globalThis.addEventListener('layoutPage', async () => {
1717
page++
1818
await onProgress('layoutPage', { page })
1919
})

0 commit comments

Comments
 (0)