diff --git a/src/components/WalletViewer.tsx b/src/components/WalletViewer.tsx index f8d6ae6..55e5db7 100644 --- a/src/components/WalletViewer.tsx +++ b/src/components/WalletViewer.tsx @@ -1161,93 +1161,99 @@ export default function WalletViewer() { )} {/* Transaction History */} -
- {walletInfo?.methods.includes("list_transactions") ? ( - loading ? ( -
- -
- ) : txLoadFailed ? ( -
-

- Failed to load transaction history -

- -
- ) : transactionsWithMarkers.length === 0 ? ( -
-

- No transactions found -

-
- ) : ( - { - if (item.type === "day-marker") { +
+
+ {walletInfo?.methods.includes("list_transactions") ? ( + loading ? ( +
+ +
+ ) : txLoadFailed ? ( +
+

+ Failed to load transaction history +

+ +
+ ) : transactionsWithMarkers.length === 0 ? ( +
+

+ No transactions found +

+
+ ) : ( + { + if (item.type === "day-marker") { + return ( +
+ +
+ ); + } + + const tx = item.data; + return (
handleTransactionClick(tx)} > - +
+ {tx.type === "incoming" ? ( + + ) : ( + + )} + +
+
+

+ {state.walletBalancesBlurred + ? "✦✦✦✦" + : formatSats(tx.amount)} +

+
); - } - - const tx = item.data; - - return ( -
handleTransactionClick(tx)} - > -
- {tx.type === "incoming" ? ( - - ) : ( - - )} - -
-
-

- {state.walletBalancesBlurred - ? "✦✦✦✦" - : formatSats(tx.amount)} -

-
-
- ); - }} - components={{ - Footer: () => - loadingMore ? ( -
- -
- ) : !hasMore && transactions.length > 0 ? ( -
- No more transactions -
- ) : null, - }} - /> - ) - ) : ( -
-

- Transaction history not available -

-
- )} + }} + components={{ + Footer: () => + loadingMore ? ( +
+ +
+ ) : !hasMore && transactions.length > 0 ? ( +
+ No more transactions +
+ ) : null, + }} + /> + ) + ) : ( +
+

+ Transaction history not available +

+
+ )} +
{/* Disconnect Confirmation Dialog */}