mirror of
https://github.com/ecency/ecency-mobile.git
synced 2025-01-02 10:54:59 +03:00
Comment changes
This commit is contained in:
parent
7bc2796271
commit
81e26c0a70
@ -160,7 +160,7 @@ export const groomingWalletData = async (user, globalProps) => {
|
|||||||
const timeDiff = Math.abs(parseDate(user.next_vesting_withdrawal) - new Date());
|
const timeDiff = Math.abs(parseDate(user.next_vesting_withdrawal) - new Date());
|
||||||
walletData.nextVestingWithdrawal = Math.ceil(timeDiff / (1000 * 3600 * 24));
|
walletData.nextVestingWithdrawal = Math.ceil(timeDiff / (1000 * 3600 * 24));
|
||||||
|
|
||||||
const { transfer_history: transferHistory } = accounts ? accounts[user.name] : [];
|
const { transfer_history: transferHistory } = get(accounts, user.name, []);
|
||||||
walletData.transactions = transferHistory
|
walletData.transactions = transferHistory
|
||||||
? transferHistory.slice(Math.max(transferHistory.length - 20, 0)).reverse()
|
? transferHistory.slice(Math.max(transferHistory.length - 20, 0)).reverse()
|
||||||
: [];
|
: [];
|
||||||
|
Loading…
Reference in New Issue
Block a user