Skip to content

Commit 576b3ad

Browse files
committed
snap fix - smart-transactions
1 parent c466b11 commit 576b3ad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ui/pages/routes/confirmation-handler.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,8 +85,8 @@ export const ConfirmationHandler = () => {
8585
// Ported from home.component - componentDidMount/componentDidUpdate
8686
useEffect(() => {
8787
// In fullscreen, skip navigation for dapp confirmations (they open in Dialog windows)
88-
// but allow wallet-initiated snap flows
89-
if (isFullscreen && !hasWalletInitiatedSnapApproval) {
88+
// but allow wallet-initiated snap flows and approval flows (e.g., smart transactions)
89+
if (isFullscreen && !hasWalletInitiatedSnapApproval && !hasApprovalFlows) {
9090
return;
9191
}
9292

0 commit comments

Comments
 (0)