diff --git a/packages/dapp/src/components/TokenDapp.tsx b/packages/dapp/src/components/TokenDapp.tsx index 13b0ddd7..179a38f8 100644 --- a/packages/dapp/src/components/TokenDapp.tsx +++ b/packages/dapp/src/components/TokenDapp.tsx @@ -401,8 +401,7 @@ export const TokenDapp: FC<{
- { const currentNetwork = useCurrentNetwork() @@ -47,7 +41,6 @@ export const AccountEditScreen: FC = () => { const accountName = account ? getAccountName(account, accountNames) : "Not found" - const blockExplorerTitle = useBlockExplorerTitle() const [liveEditingAccountName, setLiveEditingAccountName] = useState(accountName) @@ -60,13 +53,8 @@ export const AccountEditScreen: FC = () => { } }, [navigate, returnTo]) - const experimentalPluginAccount = useKeyValueStorage( - settingsStore, - "experimentalPluginAccount", - ) - const showDelete = - account && (account.networkId === "devnet") + account && (account.networkId === "devnet" || account.signer.type === "ledger") const handleHideOrDeleteAccount = async (account: Account) => { if (showDelete) { diff --git a/packages/extension/src/ui/features/actions/ApproveSignatureScreen.tsx b/packages/extension/src/ui/features/actions/ApproveSignatureScreen.tsx index edc1e27a..0a117da0 100644 --- a/packages/extension/src/ui/features/actions/ApproveSignatureScreen.tsx +++ b/packages/extension/src/ui/features/actions/ApproveSignatureScreen.tsx @@ -1,14 +1,10 @@ import { SignMessageParams } from "@alephium/web3" -import { P4, H5, H6, H2 } from "@argent/ui" +import { H6, H2 } from "@argent/ui" import { FC } from "react" import styled from "styled-components" import { usePageTracking } from "../../services/analytics" -import { P } from "../../theme/Typography" -import { - ConfirmPageProps, - DeprecatedConfirmScreen, -} from "./DeprecatedConfirmScreen" +import { ConfirmPageProps } from "./DeprecatedConfirmScreen" import { Field, FieldGroup, FieldKey, FieldValue, SectionHeader } from "../../components/Fields" import { AccountAddressField } from "./transaction/fields/AccountAddressField" import { Box, Flex } from "@chakra-ui/react" diff --git a/packages/extension/src/ui/services/backgroundAccounts.ts b/packages/extension/src/ui/services/backgroundAccounts.ts index 344a4219..2f52de28 100644 --- a/packages/extension/src/ui/services/backgroundAccounts.ts +++ b/packages/extension/src/ui/services/backgroundAccounts.ts @@ -29,7 +29,7 @@ export const discoverAccounts = async (networkId?: string) => { ]) } catch { const networkMsg = networkId ? ` for ${networkId}` : "" - throw Error(`Could not discover accounts${networkMsg}}.`) + throw Error(`Could not discover active accounts${networkMsg}}.`) } }