https://pactsafe.github.io/pactsafe-react-sdk/
clicking on the "Download" link here downloads the PDF twice.
Looking at the html is interesting, there is both an href and a onclick=window.open
<a href="https://api.pactsafe.com/v1.1/download/contracts/36073/rendered/672bb6393d98eaf03bd2f042" target="_blank" rel="noopener" class="ps-download-link" onclick="window.open('https://api.pactsafe.com/v1.1/download/contracts/36073/rendered/672bb6393d98eaf03bd2f042')">Download</a>
I don't actually think this is something specific to the React SDK but probably in the underlying JS snippet that renders the UI.