From a68cc608caa33e0c8dc2984218e116588192487a Mon Sep 17 00:00:00 2001 From: diyahir Date: Fri, 8 Mar 2024 14:36:56 +0100 Subject: [PATCH] Update HistoryTable.tsx --- packages/nextjs/components/HistoryTable.tsx | 28 ++++++++++----------- 1 file changed, 14 insertions(+), 14 deletions(-) diff --git a/packages/nextjs/components/HistoryTable.tsx b/packages/nextjs/components/HistoryTable.tsx index ec1b6ed..10f79b6 100644 --- a/packages/nextjs/components/HistoryTable.tsx +++ b/packages/nextjs/components/HistoryTable.tsx @@ -30,20 +30,20 @@ export const HistoryTable = () => { }); }; - function getTooltipText(transaction: HistoricalTransaction) { - switch (transaction.status) { - case "pending": - return "Waiting for the transaction to be included in a block"; - case "completed": - return "Expand for more details"; - case "failed": - return `Transaction failed: Redeemable at ${new Date(transaction.hashLockTimestamp * 1000).toLocaleString()}`; - case "refunded": - return "Transaction refunded"; - default: - return ""; - } - } + // function getTooltipText(transaction: HistoricalTransaction) { + // switch (transaction.status) { + // case "pending": + // return "Waiting for the transaction to be included in a block"; + // case "completed": + // return "Expand for more details"; + // case "failed": + // return `Transaction failed: Redeemable at ${new Date(transaction.hashLockTimestamp * 1000).toLocaleString()}`; + // case "refunded": + // return "Transaction refunded"; + // default: + // return ""; + // } + // } function refund(transaction: HistoricalTransaction) { if (transaction.contractId === "") return;