Skip to content

Commit

Permalink
Update app.tsx
Browse files Browse the repository at this point in the history
  • Loading branch information
jhagerman-bc authored Dec 3, 2024
1 parent 03349b5 commit 7c16a5c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions packages/blockchain-wallet-v4-frontend/src/scenes/app.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,7 @@ const App = ({
'[ROUTING_DEBUG]: User has opted out of v5, and their opt out date is after the threshold, staying on v4'
)
setDynamicRoutingState(false)
return
} else {
const redirectUrl = removeHash(fullPath)
if (optOut) localStorage.removeItem('opt_out_wallet_v5_ui') // go ahead remove opt_out key
Expand All @@ -251,6 +252,8 @@ const App = ({
console.log('xx', window?.WALLET_V5_LINK, 'not using full path for redirect')
window.location.href = window?.WALLET_V5_LINK
}

return
}
}, [])

Expand Down

0 comments on commit 7c16a5c

Please sign in to comment.