diff --git a/src/app/pages/home/components/account-actions.tsx b/src/app/pages/home/components/account-actions.tsx index 62a7cf50f57..42a00009303 100644 --- a/src/app/pages/home/components/account-actions.tsx +++ b/src/app/pages/home/components/account-actions.tsx @@ -5,7 +5,6 @@ import { Flex, FlexProps } from 'leather-styles/jsx'; import { RouteUrls } from '@shared/route-urls'; -import { useWalletType } from '@app/common/use-wallet-type'; import { useConfigBitcoinEnabled } from '@app/query/common/remote-config/remote-config.query'; import { useCurrentStacksAccount } from '@app/store/accounts/blockchain/stacks/stacks-account.hooks'; import { ArrowDownIcon } from '@app/ui/components/icons/arrow-down-icon'; @@ -19,7 +18,6 @@ export function AccountActions(props: FlexProps) { const navigate = useNavigate(); const location = useLocation(); const isBitcoinEnabled = useConfigBitcoinEnabled(); - const { whenWallet } = useWalletType(); const stacksAccount = useCurrentStacksAccount(); const receivePath = isBitcoinEnabled @@ -45,12 +43,7 @@ export function AccountActions(props: FlexProps) { /> )} - {whenWallet({ - software: ( - } label="Swap" onClick={() => navigate(RouteUrls.Swap)} /> - ), - ledger: null, - })} + } label="Swap" onClick={() => navigate(RouteUrls.Swap)} /> ); }