Skip to content

Commit

Permalink
upgrade to latest document-viewer-ts
Browse files Browse the repository at this point in the history
  • Loading branch information
SuttonKyle committed Jun 7, 2024
1 parent c0d9d1c commit a84ccbd
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 12 deletions.
20 changes: 10 additions & 10 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
"core-js": "~3.23.3",
"eslint": "~8.38.0",
"express": "^4.18.3",
"pdfjs-dist": "4.0.379",
"pdfjs-dist": "4.3.136",
"process": "~0.11.10",
"react": "^16.9.0",
"react-dom": "^16.9.0",
Expand Down
2 changes: 1 addition & 1 deletion src/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const scaleTextLayer = async (
textContentSource: textContent,
container: textLayerFragment,
viewport: vs
}).promise;
})?.promise;
textLayerDiv.appendChild(textLayerFragment);
};

Expand Down

0 comments on commit a84ccbd

Please sign in to comment.