Getting "Maximum call stack size exceeded" with two WebViewer

When I run a document viewer individually, there is no issue, but when I try to run two document viewers simultaneously, I get a ‘Maximum call stack size exceeded’ error. I would greatly appreciate your help. Below, I am sharing the code block. The error occurs when I try to use this component twice on the same page.

1 Like