Skip to content

Commit

Permalink
Fix Address xyz is invalid bug
Browse files Browse the repository at this point in the history
  • Loading branch information
DarksightKellar committed Dec 18, 2024
1 parent 929838a commit 877aa66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/hooks/DAO/loaders/useDecentTreasury.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ export const useDecentTreasury = () => {
// make unique
.filter((value, index, self) => self.indexOf(value) === index)
// turn them into Address type
.map(getAddress);
.map(address => getAddress(address));

const transfersTokenInfo = await Promise.all(
tokenAddressesOfTransfers.map(async address => {
Expand Down

0 comments on commit 877aa66

Please sign in to comment.