File tree Expand file tree Collapse file tree 1 file changed +2
-6
lines changed
packages/blockchain-wallet-v4-frontend/src/scenes Expand file tree Collapse file tree 1 file changed +2
-6
lines changed Original file line number Diff line number Diff line change @@ -153,7 +153,6 @@ const excludedStaging = [
153153 // '/#/verify-email',
154154 '/#/login?product=exchange' ,
155155 '/wallet-options-v4.json' ,
156- '/#/prove' ,
157156 // '/#/reset-two-factor'
158157 // '/#/open',
159158 '/login?product=wallet&platform=ios' ,
@@ -256,11 +255,8 @@ const App = ({
256255 }
257256
258257 // IF ANY PATHS MATCH THE EXCLUSIONS, RENDER THE APP.
259- if (
260- ( useStaging ? excludedStaging : excludedProduction ) . some ( ( prefix ) => {
261- return fullPath . startsWith ( prefix )
262- } )
263- ) {
258+ const exclusionPaths = useStaging ? excludedStaging : excludedProduction
259+ if ( exclusionPaths . some ( ( prefix ) => fullPath . startsWith ( prefix ) ) ) {
264260 setDynamicRoutingState ( false )
265261 return
266262 }
You can’t perform that action at this time.
0 commit comments