diff --git a/app/transactions/hash/[id]/page.tsx b/app/transactions/hash/[id]/page.tsx index 01e4d23..936f719 100644 --- a/app/transactions/hash/[id]/page.tsx +++ b/app/transactions/hash/[id]/page.tsx @@ -20,7 +20,9 @@ import LnPayment from "../../../../components/transactions/ln-payment" export default async function TransactionDetails({ params }: { params: { id: string } }) { const id = params.id - let txs: any + /* eslint @typescript-eslint/ban-ts-comment: "off" */ + // @ts-ignore-next-line no-implicit-any error + let txs try { const data = await getClient().query< diff --git a/components/transactions/list.tsx b/components/transactions/list.tsx index 2def639..516ef9c 100644 --- a/components/transactions/list.tsx +++ b/components/transactions/list.tsx @@ -1,7 +1,9 @@ import { formatDate, formatNumber } from "../../app/utils" type Props = { - transactions: unknown[] + /* eslint @typescript-eslint/ban-ts-comment: "off" */ + // @ts-ignore-next-line no-implicit-any error + transactions } /* eslint @typescript-eslint/ban-ts-comment: "off" */ @@ -58,7 +60,9 @@ const Transactions: React.FC = ({ transactions }) => { const isInternalTx = hasData && transactions.every( - (txn: any) => txn?.initiationVia.__typename === "InitiationViaIntraLedger", + /* eslint @typescript-eslint/ban-ts-comment: "off" */ + // @ts-ignore-next-line no-implicit-any error + (txn) => txn?.initiationVia.__typename === "InitiationViaIntraLedger", ) return (
@@ -81,7 +85,8 @@ const Transactions: React.FC = ({ transactions }) => { {hasData && - transactions.map((txn: any) => ( + // @ts-ignore-next-line no-implicit-any error + transactions.map((txn) => ( {txn?.id}