diff --git a/src/app/features/collectibles/components/bitcoin/inscription.tsx b/src/app/features/collectibles/components/bitcoin/inscription.tsx index 7f9ce6752b..eee68eaad2 100644 --- a/src/app/features/collectibles/components/bitcoin/inscription.tsx +++ b/src/app/features/collectibles/components/bitcoin/inscription.tsx @@ -124,6 +124,9 @@ export function Inscription({ inscription }: InscriptionProps) { {content} {isHovered && ( } diff --git a/src/app/pages/home/components/account-actions.tsx b/src/app/pages/home/components/account-actions.tsx index 8a83182c27..3148fdd321 100644 --- a/src/app/pages/home/components/account-actions.tsx +++ b/src/app/pages/home/components/account-actions.tsx @@ -15,6 +15,7 @@ import { } from '@app/query/common/remote-config/remote-config.query'; import { useCurrentAccountNativeSegwitIndexZeroSignerNullable } from '@app/store/accounts/blockchain/bitcoin/native-segwit-account.hooks'; import { useCurrentStacksAccount } from '@app/store/accounts/blockchain/stacks/stacks-account.hooks'; +import { useCurrentNetworkState } from '@app/store/networks/networks.hooks'; import { useCurrentNetwork } from '@app/store/networks/networks.selectors'; import { BasicTooltip } from '@app/ui/components/tooltip/basic-tooltip'; @@ -29,8 +30,10 @@ export function AccountActions() { const currentBtcSigner = useCurrentAccountNativeSegwitIndexZeroSignerNullable(); const btcAccount = currentBtcSigner?.address; const currentNetwork = useCurrentNetwork(); + const { isTestnet } = useCurrentNetworkState(); + const swapsEnabled = useConfigSwapsEnabled(); - const swapsBtnDisabled = !swapsEnabled || !stacksAccount; + const swapsBtnDisabled = !swapsEnabled || !stacksAccount || isTestnet; const receivePath = isBitcoinEnabled ? RouteUrls.Receive diff --git a/src/app/ui/components/account/account.card.tsx b/src/app/ui/components/account/account.card.tsx index 15f915e663..79c452a812 100644 --- a/src/app/ui/components/account/account.card.tsx +++ b/src/app/ui/components/account/account.card.tsx @@ -21,7 +21,7 @@ import { PrivateTextLayout } from '@app/components/privacy/private-text.layout'; import { BasicTooltip } from '../tooltip/basic-tooltip'; const availableBalanceTooltipLabel = - 'Total balance minus outbound transfers, protected collectibles and uneconomical UTXOs.'; + 'Total balance minus locked amounts, outbound transfers, protected collectibles and uneconomical UTXOs'; interface AccountCardProps { name: string;