// @ts-nocheck import React from 'react'; import { AnchorButton } from '@blueprintjs/core'; import { DialogContent, PdfDocumentPreview, T } from '@/components'; import { usePdfReceipt } from '@/hooks/query'; import withDialogActions from '@/containers/Dialog/withDialogActions'; import { compose } from '@/utils'; function ReceiptPdfPreviewDialogContent({ subscriptionForm: { receiptId }, // #withDialogActions closeDialog, }) { const { isLoading, pdfUrl, filename } = usePdfReceipt(receiptId); return (
); } export default compose(withDialogActions)(ReceiptPdfPreviewDialogContent);