fix: show message when a user doesn't have any transactions

This commit is contained in:
Sean Yesmunt 2019-05-12 00:34:17 -04:00
parent c1aa7609ba
commit 53419d29d2

View file

@ -39,6 +39,12 @@ class TransactionListRecent extends React.PureComponent<Props> {
</div> </div>
)} )}
{!fetchingTransactions && !hasTransactions && (
<div className="card__content">
<p className="card__subtitle">{__('No transactions... yet.')}</p>
</div>
)}
{hasTransactions && ( {hasTransactions && (
<Fragment> <Fragment>
<div className="card__content"> <div className="card__content">