Skip to content

Commit

Permalink
Remove multisig accounts from recipients list (#1920)
Browse files Browse the repository at this point in the history
  • Loading branch information
OKendigelyan authored Sep 20, 2024
1 parent a5c6949 commit 2917e4d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { useAllAccounts, useContactsForSelectedNetwork } from "@umami/state";
import { useContactsForSelectedNetwork, useImplicitAccounts } from "@umami/state";
import { type FieldValues, type Path } from "react-hook-form";

import { AddressAutocomplete } from "./AddressAutocomplete";
Expand All @@ -9,7 +9,7 @@ export const KnownAccountsAutocomplete = <T extends FieldValues, U extends Path<
) => {
const contacts = useContactsForSelectedNetwork();

const accounts = useAllAccounts().map(account => ({
const accounts = useImplicitAccounts().map(account => ({
name: account.label,
pkh: account.address.pkh,
}));
Expand Down
2 changes: 1 addition & 1 deletion apps/web/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ export const Header = () => {
}}
>
{mode(<Icon as={LogoLightIcon} {...size} />, <Icon as={LogoDarkIcon} {...size} />)(colorMode)}
<SlideFade in={isVisible} offsetY="20px">
<SlideFade in={isVisible} offsetY="20px" unmountOnExit>
<AccountTile
background={color("100")}
account={currentAccount}
Expand Down

1 comment on commit 2917e4d

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Title Lines Statements Branches Functions
apps/desktop Coverage: 83%
83.57% (1760/2106) 78.67% (830/1055) 78.18% (448/573)
apps/web Coverage: 83%
83.57% (1760/2106) 78.67% (830/1055) 78.18% (448/573)
packages/components Coverage: 97%
97.1% (134/138) 96.49% (55/57) 82.92% (34/41)
packages/core Coverage: 81%
82.22% (222/270) 71.73% (99/138) 81.96% (50/61)
packages/crypto Coverage: 100%
100% (28/28) 100% (3/3) 100% (5/5)
packages/data-polling Coverage: 97%
95.27% (141/148) 87.5% (21/24) 92.85% (39/42)
packages/multisig Coverage: 98%
98.47% (129/131) 85.71% (18/21) 100% (35/35)
packages/social-auth Coverage: 100%
100% (21/21) 100% (11/11) 100% (3/3)
packages/state Coverage: 85%
84.59% (791/935) 80.97% (166/205) 78.72% (296/376)
packages/tezos Coverage: 86%
85.57% (89/104) 89.47% (17/19) 82.75% (24/29)
packages/tzkt Coverage: 86%
84.05% (58/69) 81.25% (13/16) 76.92% (30/39)

Please sign in to comment.