diff --git a/app/ui/Pdf417Barcode.tsx b/app/ui/Pdf417Barcode.tsx index 2a4f769..9a5d6b4 100644 --- a/app/ui/Pdf417Barcode.tsx +++ b/app/ui/Pdf417Barcode.tsx @@ -23,6 +23,7 @@ export const Pdf417Barcode:FC<{hub3aText:string, className?: string}> = ({hub3aT } return ( - + // eslint-disable-next-line @next/next/no-img-element + PDF417 Barcode ); } \ No newline at end of file diff --git a/app/ui/PrintPreview.tsx b/app/ui/PrintPreview.tsx index 7f1d0fa..3de1f83 100644 --- a/app/ui/PrintPreview.tsx +++ b/app/ui/PrintPreview.tsx @@ -136,7 +136,9 @@ export const PrintPreview: React.FC = ({ data, year, month, t : ( // LEGACY SUPPORT ... untill all bills have been migrated + item.barcodeImage ? + // eslint-disable-next-line @next/next/no-img-element {`Barcode = ({ location, bill }) => { barcodeImage ?

{t.rich('barcode-disclaimer', { br: () =>
})}

diff --git a/app/ui/ViewLocationCard.tsx b/app/ui/ViewLocationCard.tsx index 7afc03c..7bd0948 100644 --- a/app/ui/ViewLocationCard.tsx +++ b/app/ui/ViewLocationCard.tsx @@ -108,7 +108,9 @@ export const ViewLocationCard:FC = ({location, userSettin hub3aText: EncodePayment(paymentParams), paymentParams }); - }, []); + }, + // eslint-disable-next-line react-hooks/exhaustive-deps + []); return(