mirror of
https://github.com/trezor/trezor-wallet
synced 2025-01-03 21:00:55 +00:00
temporary disable Ripple Summary/History (not ready yet)
This commit is contained in:
parent
2b8503fdb4
commit
e6a8229d0f
@ -78,6 +78,8 @@ const AccountSummary = (props: Props) => {
|
|||||||
const pendingAmount: BigNumber = stateUtils.getPendingAmount(pending, network.symbol);
|
const pendingAmount: BigNumber = stateUtils.getPendingAmount(pending, network.symbol);
|
||||||
const balance: string = new BigNumber(account.balance).minus(pendingAmount).toString(10);
|
const balance: string = new BigNumber(account.balance).minus(pendingAmount).toString(10);
|
||||||
|
|
||||||
|
const TMP_SHOW_HISTORY = false;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<Content>
|
<Content>
|
||||||
<React.Fragment>
|
<React.Fragment>
|
||||||
@ -93,20 +95,22 @@ const AccountSummary = (props: Props) => {
|
|||||||
balance={balance}
|
balance={balance}
|
||||||
fiat={props.fiat}
|
fiat={props.fiat}
|
||||||
/>
|
/>
|
||||||
<H2Wrapper>
|
{ TMP_SHOW_HISTORY && (
|
||||||
<H2>History</H2>
|
<H2Wrapper>
|
||||||
<StyledTooltip
|
<H2>History</H2>
|
||||||
maxWidth={200}
|
<StyledTooltip
|
||||||
placement="top"
|
maxWidth={200}
|
||||||
content="Insert token name, symbol or address to be able to send it."
|
placement="top"
|
||||||
>
|
content="Insert token name, symbol or address to be able to send it."
|
||||||
<StyledIcon
|
>
|
||||||
icon={ICONS.HELP}
|
<StyledIcon
|
||||||
color={colors.TEXT_SECONDARY}
|
icon={ICONS.HELP}
|
||||||
size={24}
|
color={colors.TEXT_SECONDARY}
|
||||||
/>
|
size={24}
|
||||||
</StyledTooltip>
|
/>
|
||||||
</H2Wrapper>
|
</StyledTooltip>
|
||||||
|
</H2Wrapper>)
|
||||||
|
}
|
||||||
</React.Fragment>
|
</React.Fragment>
|
||||||
</Content>
|
</Content>
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user