diff --git a/src/components/AccountPage/index.js b/src/components/AccountPage/index.js index 15f60fa3..7ebef896 100644 --- a/src/components/AccountPage/index.js +++ b/src/components/AccountPage/index.js @@ -81,12 +81,11 @@ class AccountPage extends PureComponent { {formatBTC(account.balance)} - - - + ) } diff --git a/src/components/DashboardPage/index.js b/src/components/DashboardPage/index.js index 0a17cbd7..2b2af8ee 100644 --- a/src/components/DashboardPage/index.js +++ b/src/components/DashboardPage/index.js @@ -289,13 +289,12 @@ class DashboardPage extends PureComponent { ))} - - push(`/account/${account.id}`)} - /> - + push(`/account/${account.id}`)} + /> )} diff --git a/src/components/TransactionsList/index.js b/src/components/TransactionsList/index.js index acc30589..1cdf589d 100644 --- a/src/components/TransactionsList/index.js +++ b/src/components/TransactionsList/index.js @@ -11,7 +11,7 @@ import { getIconByCoinType } from '@ledgerhq/currencies/react' import type { Transaction as TransactionType, T } from 'types/common' -import Box from 'components/base/Box' +import Box, { Card } from 'components/base/Box' import Defer from 'components/base/Defer' import FormattedVal from 'components/base/FormattedVal' import Text from 'components/base/Text' @@ -20,7 +20,7 @@ import ConfirmationCheck from './ConfirmationCheck' const DATE_COL_SIZE = 80 const ACCOUNT_COL_SIZE = 150 const AMOUNT_COL_SIZE = 150 -const CONFIRMATION_COL_SIZE = 30 +const CONFIRMATION_COL_SIZE = 44 const Cap = styled(Text).attrs({ fontSize: 2, @@ -156,7 +156,7 @@ const Transaction = ({ alwaysShowSign /> - + @@ -174,6 +174,7 @@ type Props = { transactions: Array, withAccounts?: boolean, minConfirmations: number, + title?: string, } class TransactionsList extends Component { @@ -200,12 +201,12 @@ class TransactionsList extends Component { _hashCache = null render() { - const { transactions, withAccounts, onAccountClick, minConfirmations, t } = this.props + const { transactions, title, withAccounts, onAccountClick, minConfirmations, t } = this.props this._hashCache = this.getHashCache(transactions) return ( - + {t('transactionsList:date')} {withAccounts && ( @@ -231,7 +232,7 @@ class TransactionsList extends Component { ))} - + ) } }