diff --git a/frontend/src/components/TransactionItem.tsx b/frontend/src/components/TransactionItem.tsx index 1eae0234f..434f36913 100644 --- a/frontend/src/components/TransactionItem.tsx +++ b/frontend/src/components/TransactionItem.tsx @@ -67,14 +67,14 @@ function TransactionItem({ tx }: Props) { className={cn( "w-6 h-6 md:w-8 md:h-8", type === "outgoing" - ? "text-orange-400 dark:text-amber-600 stroke-orange-400 dark:stroke-amber-600" - : "text-green-500 dark:text-emerald-500 stroke-green-400 dark:stroke-emerald-500" + ? "stroke-orange-400 dark:stroke-amber-600" + : "stroke-green-500 dark:stroke-emerald-500" )} />
-
+

{type == "incoming" ? "Received" : "Sent"}

@@ -86,12 +86,12 @@ function TransactionItem({ tx }: Props) { {tx.description || "Lightning invoice"}

-
+

{type == "outgoing" ? "-" : "+"} @@ -104,7 +104,7 @@ function TransactionItem({ tx }: Props) {

{/* {!!tx.totalAmountFiat && ( -

+

~{tx.totalAmountFiat}

)} */} @@ -133,8 +133,8 @@ function TransactionItem({ tx }: Props) { className={cn( "w-6 h-6 md:w-8 md:h-8", type === "outgoing" - ? "text-orange-400 dark:text-amber-600 stroke-orange-400 dark:stroke-amber-600" - : "text-green-500 dark:text-emerald-500 stroke-green-400 dark:stroke-emerald-500" + ? "stroke-orange-400 dark:stroke-amber-600" + : "stroke-green-500 dark:stroke-emerald-500" )} />
@@ -145,13 +145,13 @@ function TransactionItem({ tx }: Props) { )}{" "} {Math.floor(tx.amount / 1000) == 1 ? "sat" : "sats"}

- {/*

+ {/*

Fiat Amount

*/}
-

Date & Time

+

Date & Time

{dayjs(tx.settled_at * 1000) .tz(dayjs.tz.guess()) @@ -160,7 +160,7 @@ function TransactionItem({ tx }: Props) {

{type == "outgoing" && (
-

Fee

+

Fee

{new Intl.NumberFormat(undefined, {}).format( Math.floor(tx.fees_paid / 1000) @@ -171,7 +171,7 @@ function TransactionItem({ tx }: Props) { )} {tx.description && (

-

Description

+

Description

{tx.description}

)} @@ -191,7 +191,7 @@ function TransactionItem({ tx }: Props) { {showDetails && ( <>
-

Preimage

+

Preimage

{tx.preimage} @@ -205,7 +205,7 @@ function TransactionItem({ tx }: Props) {

-

Hash

+

Hash

{tx.payment_hash}