Skip to content

Commit 7c16a5c

Browse files
authored
Update app.tsx
1 parent 03349b5 commit 7c16a5c

File tree

1 file changed

+3
-0
lines changed
  • packages/blockchain-wallet-v4-frontend/src/scenes

1 file changed

+3
-0
lines changed

packages/blockchain-wallet-v4-frontend/src/scenes/app.tsx

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -234,6 +234,7 @@ const App = ({
234234
'[ROUTING_DEBUG]: User has opted out of v5, and their opt out date is after the threshold, staying on v4'
235235
)
236236
setDynamicRoutingState(false)
237+
return
237238
} else {
238239
const redirectUrl = removeHash(fullPath)
239240
if (optOut) localStorage.removeItem('opt_out_wallet_v5_ui') // go ahead remove opt_out key
@@ -251,6 +252,8 @@ const App = ({
251252
console.log('xx', window?.WALLET_V5_LINK, 'not using full path for redirect')
252253
window.location.href = window?.WALLET_V5_LINK
253254
}
255+
256+
return
254257
}
255258
}, [])
256259

0 commit comments

Comments
 (0)