From a5bb81e1f4507648218a62c438b30f64b2f7dc04 Mon Sep 17 00:00:00 2001 From: Douglas Daniel Date: Mon, 11 May 2026 14:18:34 -0500 Subject: [PATCH] [Wallet]: Dont Show Partner Consent Modal During Reset (#36326) Fixes a bug where the Meld Partner Consent modal was being displayed if you Reset your wallet while on the Buy screen. --- components/brave_wallet_ui/page/container.tsx | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/components/brave_wallet_ui/page/container.tsx b/components/brave_wallet_ui/page/container.tsx index 9432334614f..76cab38b28e 100644 --- a/components/brave_wallet_ui/page/container.tsx +++ b/components/brave_wallet_ui/page/container.tsx @@ -179,10 +179,16 @@ export const Container = () => { if ( !acceptedPartnerConsentTerms && walletLocation.includes(WalletRoutes.FundWalletPageStart) + && !walletNotYetCreated ) { setShowPartnerConsentModal(true) } - }, [acceptedPartnerConsentTerms, walletLocation, history]) + }, [ + acceptedPartnerConsentTerms, + walletLocation, + history, + walletNotYetCreated, + ]) // render if (!hasInitialized) {