# PDF Viewer React sample has error

**URL:** <https://pdfjs.community/t/pdf-viewer-react-sample-has-error/1927>\
**Category:** Bug Reports\
**Created:** [August 10, 2022, 3:43am UTC](https://pdfjs.community/t/pdf-viewer-react-sample-has-error/1927 "2022-08-10T03:43:23Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![dfelix](https://avatars.discourse-cdn.com/v4/letter/d/bb73d2/32.png) [@dfelix](https://pdfjs.community/u/dfelix)\
**Post date:** [August 11, 2022, 12:35am UTC](https://pdfjs.community/t/pdf-viewer-react-sample-has-error/1927/3 "2022-08-11T00:35:12Z")

</div>

Hello @shumkapoh

Indeed, I was able to reproduce the issue. This will be fixed in the next version (8.8.0), but in the meantime, as a workaround, could you try the attached folders and let me know if this works for you?

The only thing you need to do is replace the UI and core folders inside public/webviewer/lib with these two ones attached. Please remove the old ones first before pasting the new folders in.

[Archive.zip](https://pdfjs.community/uploads/short-url/9HHBximK0Ra6BbQdQkLEOoXAD1B.zip) (6.9 MB)

---

_[View the full topic](https://pdfjs.community/t/pdf-viewer-react-sample-has-error/1927)._
