Skip to content

Commit

Permalink
Fix download link error
Browse files Browse the repository at this point in the history
  • Loading branch information
wtcarter committed Sep 23, 2024
1 parent f479933 commit 49e9568
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ const FreshwaterManagementUnit = (details: FmuFullDetailsWithMap) => {

<div className="absolute top-0 right-0 m-6 mt-0">
<PDFDownloadLink document={<FreshwaterManagementUnitPDF {...details} />} fileName={fileName}>
{({ loading }: { loading: boolean }) => <button disabled={loading}>Print</button>}
{({loading}: { loading: boolean }) => <><button disabled={loading}>Print</button></>}
</PDFDownloadLink>
</div>

Expand Down

0 comments on commit 49e9568

Please sign in to comment.