diff --git a/.env.example b/.env.example index 504acbd5..9fc7c229 100644 --- a/.env.example +++ b/.env.example @@ -27,5 +27,6 @@ REACT_APP_APP_VERSION=$npm_package_version # all environments REACT_APP_INFURA_TOKEN= -# For Apps -REACT_APP_GNOSIS_APPS_URL=http://localhost:3002 +# For Apps +REACT_APP_GNOSIS_APPS_URL=https://safe-apps.staging.gnosisdev.com +REACT_APP_APPS_DISABLED=false diff --git a/src/routes/safe/components/Layout/Tabs/index.jsx b/src/routes/safe/components/Layout/Tabs/index.jsx index 3ade3bd6..e40672b3 100644 --- a/src/routes/safe/components/Layout/Tabs/index.jsx +++ b/src/routes/safe/components/Layout/Tabs/index.jsx @@ -100,7 +100,7 @@ const TabsComponent = (props: Props) => { label={labelTransactions} value={`${match.url}/transactions`} /> - {process.env.REACT_APP_ENV !== 'production' && ( + {!process.env.REACT_APP_APPS_DISABLED && ( { wrapInSuspense(, null)} /> wrapInSuspense(, null)} /> - {process.env.REACT_APP_ENV !== 'production' && ( + {!process.env.REACT_APP_APPS_DISABLED && (