Skip to content

Commit 36365f4

Browse files
committed
minor
1 parent 71c6d39 commit 36365f4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utils/wallet-helpers.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ dotenv.config();
1616
})
1717
const { balances } = response.data
1818

19-
const result = balances.slice(0, 10).map((bal) => {
19+
const result = (balances || []).slice(0, 10).map((bal) => {
2020
const returnValue = {}
2121
returnValue.wallet_address = address
2222
returnValue.name = bal.name

0 commit comments

Comments
 (0)