From f92aa433744a805e6d2bbf4bcbdad9f27ca4b9b1 Mon Sep 17 00:00:00 2001 From: iamacook Date: Tue, 19 Sep 2023 18:46:26 +0200 Subject: [PATCH] fix: Transaction Builder link --- src/components/tx-flow/common/TxButton.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 (