on master help sign in
Merge pull request #170 from urbit/fix/correctly-check-env-flag
791d63aMatt Condon
src/bridge/Bridge.js+1−1
@@ -26,7 +26,7 @@ const kInitialNetworkType = isDevelopment
26 : NETWORK_TYPES.MAINNET;
26 : NETWORK_TYPES.MAINNET;
27
27
28// NB(shrugs): modify these variables to change the default local state.
28// NB(shrugs): modify these variables to change the default local state.
29−const shouldStubLocal = process.env.REACT_APP_STUB_LOCAL;
29+const shouldStubLocal = process.env.REACT_APP_STUB_LOCAL === 'true';
30const kIsStubbed = isDevelopment && shouldStubLocal;
30const kIsStubbed = isDevelopment && shouldStubLocal;
31const kInitialRoutes = kIsStubbed
31const kInitialRoutes = kIsStubbed
32 ? [
32 ? [