mirror of
https://github.com/ecency/ecency-mobile.git
synced 2024-12-04 07:05:20 +03:00
Fix for transaction page loading issue
This commit is contained in:
parent
54f12c8466
commit
b473cc3aa8
@ -160,7 +160,7 @@ export const groomingWalletData = async (user, globalProps) => {
|
||||
const timeDiff = Math.abs(parseDate(user.next_vesting_withdrawal) - new Date());
|
||||
walletData.nextVestingWithdrawal = Math.ceil(timeDiff / (1000 * 3600 * 24));
|
||||
|
||||
const { transfer_history: transferHistory } = accounts[user.name];
|
||||
const { transfer_history: transferHistory } = accounts ? accounts[user.name] : [];
|
||||
walletData.transactions = transferHistory
|
||||
.slice(Math.max(transferHistory.length - 20, 0))
|
||||
.reverse();
|
||||
|
Loading…
Reference in New Issue
Block a user