Skip to content
Permalink
Browse files

fix: market config so it will be boolean

  • Loading branch information
sirpy committed Mar 24, 2020
1 parent 7ed0d72 commit 87b98c746f1db0aabd0390e1978779c834f5ebc5
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/config/config.js
@@ -1,5 +1,5 @@
const publicUrl = process.env.REACT_APP_PUBLIC_URL || (window && window.location && window.location.origin)

const isEToro = process.env.REACT_APP_ETORO === 'true' || process.env.REACT_APP_NETWORK === 'etoro'
const Config = {
env: process.env.REACT_APP_ENV || 'development',
version: process.env.VERSION || 'v0',
@@ -14,9 +14,9 @@ const Config = {
dashboardUrl: process.env.REACT_APP_DASHBOARD_URL || 'https://dashboard.gooddollar.org',
infuraKey: process.env.REACT_APP_INFURA_KEY,
network: process.env.REACT_APP_NETWORK || 'fuse',
market: process.env.REACT_APP_MARKET || process.env.REACT_APP_ETORO || process.env.REACT_APP_NETWORK === 'etoro',
market: process.env.REACT_APP_MARKET === 'true' || isEToro,
marketUrl: process.env.REACT_APP_MARKET_URL || 'https://etoro.paperclip.co',
isEToro: process.env.REACT_APP_ETORO === 'true' || process.env.REACT_APP_NETWORK === 'etoro',
isEToro,
showInvite: process.env.REACT_APP_DASHBOARD_SHOW_INVITE === 'true',
showRewards: process.env.REACT_APP_DASHBOARD_SHOW_REWARDS === 'true',
zoomLicenseKey: process.env.REACT_APP_ZOOM_LICENSE_KEY,

0 comments on commit 87b98c7

Please sign in to comment.
You can’t perform that action at this time.