Skip to content

Commit

Permalink
Fix duplicate react-pdf dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
janicduplessis committed Apr 29, 2024
1 parent 2740f0e commit 0f423a2
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 77 deletions.
98 changes: 24 additions & 74 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 @@ -177,7 +177,7 @@
"react-native-web-linear-gradient": "^1.1.2",
"react-native-web-sound": "^0.1.3",
"react-native-webview": "13.6.4",
"react-pdf": "7.3.3",
"react-pdf": "^7.7.0",
"react-plaid-link": "3.3.2",
"react-web-config": "^1.0.0",
"react-webcam": "^7.1.1",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
diff --git a/node_modules/react-pdf/dist/esm/Document.js b/node_modules/react-pdf/dist/esm/Document.js
index ac7ca31..56bc766 100644
index 493ff15..8d5e734 100644
--- a/node_modules/react-pdf/dist/esm/Document.js
+++ b/node_modules/react-pdf/dist/esm/Document.js
@@ -240,6 +240,7 @@ const Document = forwardRef(function Document(_a, ref) {
@@ -261,6 +261,7 @@ const Document = forwardRef(function Document(_a, ref) {
pdfDispatch({ type: 'REJECT', error });
});
return () => {
Expand Down

0 comments on commit 0f423a2

Please sign in to comment.