1
0
mirror of https://github.com/trezor/trezor-wallet synced 2025-01-05 22:00:59 +00:00

temporary disable Ripple Summary/History (not ready yet)

This commit is contained in:
Szymon Lesisz 2019-01-03 18:20:08 +01:00
parent 2b8503fdb4
commit e6a8229d0f

View File

@ -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,6 +95,7 @@ const AccountSummary = (props: Props) => {
balance={balance} balance={balance}
fiat={props.fiat} fiat={props.fiat}
/> />
{ TMP_SHOW_HISTORY && (
<H2Wrapper> <H2Wrapper>
<H2>History</H2> <H2>History</H2>
<StyledTooltip <StyledTooltip
@ -106,7 +109,8 @@ const AccountSummary = (props: Props) => {
size={24} size={24}
/> />
</StyledTooltip> </StyledTooltip>
</H2Wrapper> </H2Wrapper>)
}
</React.Fragment> </React.Fragment>
</Content> </Content>
); );