Skip to content

Commit

Permalink
Force isEvalSupported to false
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed May 7, 2024
1 parent 8ca4d07 commit 208f28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react-pdf/src/Document.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ const Document = forwardRef(function Document(
return;
}

const optionsWithModifiedIsEvalSupported: Options = { ...options, isEvalSupported: true };
const optionsWithModifiedIsEvalSupported: Options = { ...options, isEvalSupported: false };

const documentInitParams: Source = {
...source,
Expand Down

0 comments on commit 208f28d

Please sign in to comment.