Skip to content

Commit

Permalink
fix: [lw-11753] do not show address suggestion dropdown if there are …
Browse files Browse the repository at this point in the history
…no addresses (#1502)
  • Loading branch information
vetalcore authored Oct 31, 2024
1 parent 63a4114 commit 2af5bbf
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/nami/src/ui/app/pages/send.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -892,7 +892,9 @@ const AddressPopup = ({

return (
<Popover
isOpen={(Boolean(recentSendToAddress) || accounts.length > 0) && isOpen}
isOpen={
(Boolean(recentSendToAddress) || filteredAccounts.length > 0) && isOpen
}
onOpen={() => {
!isLoading && !address.result && !address.error && onOpen();
}}
Expand Down

0 comments on commit 2af5bbf

Please sign in to comment.