diff --git a/app/components/transaction-item.js b/app/components/transaction-item.js index caf03e9..4d766d8 100644 --- a/app/components/transaction-item.js +++ b/app/components/transaction-item.js @@ -16,7 +16,7 @@ import formatNumber from '../utils/formatNumber'; const Wrapper = styled(RowComponent)` background-color: ${props => props.theme.colors.cardBackgroundColor}; - padding: 10px 17px; + padding: 15px 17px; `; const Icon = styled.img` @@ -40,7 +40,7 @@ const TransactionColumn = styled(ColumnComponent)` `; export type Transaction = { - type: 'sent' | 'received', + type: 'send' | 'receive', date: string, address: string, amount: number, @@ -52,7 +52,7 @@ const truncateAddress = (address: string) => `${address.substr(0, 20)}...${addre export const TransactionItemComponent = ({ type, date, address, amount, }: Transaction) => { - const isReceived = type === 'received'; + const isReceived = type === 'receive'; return ( @@ -60,18 +60,18 @@ export const TransactionItemComponent = ({ - + - +