Skip to content

Commit

Permalink
Adding multisig name
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypalacios committed Jan 30, 2024
1 parent 53bccf7 commit 73490bf
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion src/context/NameInAddressBookContext.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -100,12 +100,20 @@ export const NameInAddressBookProvider: React.FC<PropsWithChildren> = ({
_name = findInAddressBook(address);
} else if (isSigner) {
_name = isSigner.name;
} else if (xSignerSelected?.address === address) {
_name = xSignerSelected.name;
}

setIsLoading(false);
return _name;
},
[accountConnected?.address, findInAddressBook, xSignerSelected?.owners]
[
accountConnected?.address,
findInAddressBook,
xSignerSelected?.address,
xSignerSelected?.name,
xSignerSelected?.owners,
]
);

return (
Expand Down

0 comments on commit 73490bf

Please sign in to comment.