diff --git a/sites/public/src/lib/helpers.tsx b/sites/public/src/lib/helpers.tsx index 6d3dd6cc4f..8d7850b969 100644 --- a/sites/public/src/lib/helpers.tsx +++ b/sites/public/src/lib/helpers.tsx @@ -224,6 +224,7 @@ export const downloadExternalPDF = async (fileURL: string, fileName: string) => const url = window.URL.createObjectURL(new Blob([blob])) const link = document.createElement("a") link.href = url + link.target = "_blank" link.setAttribute("download", `${fileName}.pdf`) document.body.appendChild(link)