diff --git a/src/components/CheckIn/TableRow.tsx b/src/components/CheckIn/TableRow.tsx index b2bd6e11cb..b273dbdd84 100644 --- a/src/components/CheckIn/TableRow.tsx +++ b/src/components/CheckIn/TableRow.tsx @@ -73,7 +73,9 @@ export const TableRow = ({ inputs.push({ name: data.name.trim() }); const pdf = await generate({ template: tagTemplate, inputs }); // istanbul ignore next - const blob = new Blob([pdf.buffer], { type: 'application/pdf' }); + // Convert ArrayBuffer to Uint8Array before creating Blob + const uint8Array = new Uint8Array(pdf.buffer); + const blob = new Blob([uint8Array], { type: 'application/pdf' }); // istanbul ignore next const url = URL.createObjectURL(blob); // istanbul ignore next