We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 71c6d39 commit 36365f4Copy full SHA for 36365f4
src/utils/wallet-helpers.js
@@ -16,7 +16,7 @@ dotenv.config();
16
})
17
const { balances } = response.data
18
19
- const result = balances.slice(0, 10).map((bal) => {
+ const result = (balances || []).slice(0, 10).map((bal) => {
20
const returnValue = {}
21
returnValue.wallet_address = address
22
returnValue.name = bal.name
0 commit comments