mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-06 22:19:41 +03:00
Fix for transaction page loading issue
This commit is contained in:
parent
b473cc3aa8
commit
57c60c433e
@ -162,8 +162,8 @@ export const groomingWalletData = async (user, globalProps) => {
|
|||||||
|
|
||||||
const { transfer_history: transferHistory } = accounts ? accounts[user.name] : [];
|
const { transfer_history: transferHistory } = accounts ? accounts[user.name] : [];
|
||||||
walletData.transactions = transferHistory
|
walletData.transactions = transferHistory
|
||||||
.slice(Math.max(transferHistory.length - 20, 0))
|
? transferHistory.slice(Math.max(transferHistory.length - 20, 0)).reverse()
|
||||||
.reverse();
|
: [];
|
||||||
|
|
||||||
return walletData;
|
return walletData;
|
||||||
};
|
};
|
||||||
|
Loading…
Reference in New Issue
Block a user