diff --git a/src/components/tx-flow/common/TxButton.tsx b/src/components/tx-flow/common/TxButton.tsx index 0c193e99a3..c0f03ac000 100644 --- a/src/components/tx-flow/common/TxButton.tsx +++ b/src/components/tx-flow/common/TxButton.tsx @@ -49,7 +49,7 @@ export const TxBuilderButton = () => { if (!txBuilder?.app) return null - const isTxBuilder = router.pathname === AppRoutes.balances.nfts + const isTxBuilder = typeof txBuilder.link.query === 'object' && router.query.appUrl === txBuilder.link.query?.appUrl const onClick = isTxBuilder ? () => setTxFlow(undefined) : undefined return (