display if no transactions or subs

This commit is contained in:
Anthony 2021-07-29 18:49:07 +02:00
parent 852c13d3fe
commit a9c45eac26
No known key found for this signature in database
GPG key ID: C386D3C93D50E356

View file

@ -109,7 +109,7 @@ const WalletBalance = (props: Props) => {
if(subscriptions.length > 2){
subscriptions.length = 2
setSubscriptions(subscriptions)
setSubscriptions([])
} else {
setSubscriptions([])
}
@ -168,6 +168,7 @@ const WalletBalance = (props: Props) => {
))}
</tbody>
</table>
{(!paymentHistoryTransactions || paymentHistoryTransactions.length === 0) && <p style={{textAlign:"center", marginTop: '20px', fontSize: '13px', color: 'rgb(171, 171, 171)'}}>No Transactions</p>}
</div>
</>
}
@ -221,6 +222,7 @@ const WalletBalance = (props: Props) => {
))}
</tbody>
</table>
{(!subscriptions || subscriptions.length === 0) && <p style={{textAlign:"center", marginTop: '20px', fontSize: '13px', color: 'rgb(171, 171, 171)'}}>No Subscriptions</p>}
</div>
</>
}