display if no transactions or subs
This commit is contained in:
parent
852c13d3fe
commit
a9c45eac26
1 changed files with 3 additions and 1 deletions
|
@ -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>
|
||||
</>
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue