Skip to content

Commit

Permalink
PalisadoesFoundation#2970: autoGen-talawa-admin-docs-debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
bint-Eve committed Jan 10, 2025
1 parent 0c7c2f1 commit c851f10
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/components/CheckIn/TableRow.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -76,11 +76,8 @@ export const TableRow = ({
// 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
window.open(url);
// istanbul ignore next
toast.success('PDF generated successfully!');
} catch (error: unknown) {
const errorMessage =
Expand Down

0 comments on commit c851f10

Please sign in to comment.