chore: remove react-pdf dependency and add pdfjs-dist for PDF handling

This commit is contained in:
Anish Sarkar 2026-04-16 11:10:35 +05:30
parent d5a1f4ac01
commit 6e7f832181
3 changed files with 15 additions and 63 deletions

View file

@ -109,6 +109,7 @@
"next": "^16.1.0",
"next-intl": "^4.6.1",
"next-themes": "^0.4.6",
"pdfjs-dist": "^5.6.205",
"pg": "^8.16.3",
"platejs": "^52.0.17",
"postgres": "^3.4.7",
@ -123,7 +124,6 @@
"react-dropzone": "^14.3.8",
"react-hook-form": "^7.61.1",
"react-json-view-lite": "^2.4.1",
"react-pdf": "^10.4.1",
"react-syntax-highlighter": "^15.6.1",
"react-wrap-balancer": "^1.1.1",
"rehype-katex": "^7.0.1",