limit recent transactions to 5 items
This commit is contained in:
parent
580f879d0e
commit
e443a0fdbb
1 changed files with 2 additions and 2 deletions
|
@ -1,6 +1,6 @@
|
|||
// @flow
|
||||
import React from 'react';
|
||||
//import BusyIndicator from 'component/common/busy-indicator';
|
||||
// import BusyIndicator from 'component/common/busy-indicator';
|
||||
import { Text, View } from 'react-native';
|
||||
import Button from '../button';
|
||||
import Link from '../link';
|
||||
|
@ -33,7 +33,7 @@ class TransactionListRecent extends React.PureComponent<Props> {
|
|||
{!fetchingTransactions && (
|
||||
<TransactionList
|
||||
navigation={navigation}
|
||||
transactions={transactions}
|
||||
transactions={transactions.slice(0, 5)}
|
||||
emptyMessage={"Looks like you don't have any recent transactions."}
|
||||
/>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue