From ea073f824c5c5adebe787c07b2b9961a116d35b0 Mon Sep 17 00:00:00 2001 From: Adithya Vardhan Date: Thu, 13 Aug 2026 21:29:25 +0530 Subject: [PATCH] feat: show the redirect destination on the Connect App screen --- components/ConnectionInfoModal.tsx | 1 + pages/settings/wallets/ConnectWallet.tsx | 16 +++++++++------- 2 files changed, 10 insertions(+), 7 deletions(-) diff --git a/components/ConnectionInfoModal.tsx b/components/ConnectionInfoModal.tsx index 0d15afdd..ab9fc95e 100644 --- a/components/ConnectionInfoModal.tsx +++ b/components/ConnectionInfoModal.tsx @@ -152,6 +152,7 @@ function ConnectionInfoModal({ 1 ? "are" : "is" } not using a secure (wss) connection.`} diff --git a/pages/settings/wallets/ConnectWallet.tsx b/pages/settings/wallets/ConnectWallet.tsx index ecd6d2d6..8a9f854f 100644 --- a/pages/settings/wallets/ConnectWallet.tsx +++ b/pages/settings/wallets/ConnectWallet.tsx @@ -210,7 +210,6 @@ export function ConnectWallet() { budgetRenewal={budgetRenewal} maxAmount={maxAmount} expiresAt={expiresAt} - returnTo={returnTo} metadata={metadata} /> )} @@ -232,6 +231,15 @@ export function ConnectWallet() { )} Confirm Connection + {returnTo && ( + + You will be redirected to{" "} + + {returnTo} + {" "} + after confirming. + + )} )} @@ -246,7 +254,6 @@ function ConnectView({ budgetRenewal, maxAmount, expiresAt, - returnTo, metadata, }: Omit) { const { shadow } = useThemeColor("shadow"); @@ -357,11 +364,6 @@ function ConnectView({ )} - {returnTo && ( - - You will return to {returnTo} after confirming - - )}