Merge pull request #119 from lbryio/empty-tx-list-fix
fix for transactionList empty error on history page
This commit is contained in:
commit
13fb52478f
1 changed files with 4 additions and 1 deletions
|
@ -17,7 +17,10 @@ class TransactionHistoryPage extends React.PureComponent {
|
|||
{fetchingTransactions && !transactions.length && (
|
||||
<Text style={walletStyle.infoText}>Loading transactions...</Text>
|
||||
)}
|
||||
{transactions && transactions.length && (
|
||||
{!fetchingTransactions && transactions.length === 0 && (
|
||||
<Text style={walletStyle.infoText}>No transactions to list.</Text>
|
||||
)}
|
||||
{!fetchingTransactions && transactions && (transactions.length > 0) && (
|
||||
<TransactionList navigation={navigation} transactions={transactions} />
|
||||
)}
|
||||
</View>
|
||||
|
|
Loading…
Reference in a new issue