From d2cf75b782b63d7b217b14c0a3bdc953c5e3bca9 Mon Sep 17 00:00:00 2001 From: Sebastian Date: Mon, 6 Sep 2021 14:55:55 -0300 Subject: rendring pending transation item --- .../src/components/TransactionItem.tsx | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'packages/taler-wallet-webextension/src/components/TransactionItem.tsx') diff --git a/packages/taler-wallet-webextension/src/components/TransactionItem.tsx b/packages/taler-wallet-webextension/src/components/TransactionItem.tsx index e5545b950..8ddfd0e32 100644 --- a/packages/taler-wallet-webextension/src/components/TransactionItem.tsx +++ b/packages/taler-wallet-webextension/src/components/TransactionItem.tsx @@ -7,7 +7,7 @@ import imageRefresh from '../../static/img/ri-refresh-line.svg'; import imageRefund from '../../static/img/ri-refund-2-line.svg'; import imageShoppingCart from '../../static/img/ri-shopping-cart-line.svg'; import { Pages } from "../NavigationBar"; -import { Column, ExtraLargeText, HistoryRow, SmallTextLight, LargeText } from './styled/index'; +import { Column, ExtraLargeText, HistoryRow, SmallLightText, LargeText, LightText } from './styled/index'; export function TransactionItem(props: { tx: Transaction, multiCurrency: boolean }): JSX.Element { const tx = props.tx; @@ -103,11 +103,11 @@ function TransactionLayout(props: TransactionLayoutProps): JSX.Element { {props.title} - {props.pending ? ( - (Pending) - ) : null} - {dateStr} + {props.pending && + Waiting for confirmation + } + {dateStr} {props.multiCurrency &&
{currency}
} + {props.pending &&
PENDING
} ); } -- cgit v1.2.3