mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-05 04:28:03 +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] : [];
|
||||
walletData.transactions = transferHistory
|
||||
.slice(Math.max(transferHistory.length - 20, 0))
|
||||
.reverse();
|
||||
? transferHistory.slice(Math.max(transferHistory.length - 20, 0)).reverse()
|
||||
: [];
|
||||
|
||||
return walletData;
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user