diff --git a/src/utils/wallet.js b/src/utils/wallet.js index f1eee83e8..f3b9870b7 100644 --- a/src/utils/wallet.js +++ b/src/utils/wallet.js @@ -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 ? accounts[user.name] : []; + const { transfer_history: transferHistory } = get(accounts, user.name, []); walletData.transactions = transferHistory ? transferHistory.slice(Math.max(transferHistory.length - 20, 0)).reverse() : [];