diff options
Diffstat (limited to 'src/containers/settings/AccountScreen.js')
-rw-r--r-- | src/containers/settings/AccountScreen.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/containers/settings/AccountScreen.js b/src/containers/settings/AccountScreen.js index 12c912bac..98e212192 100644 --- a/src/containers/settings/AccountScreen.js +++ b/src/containers/settings/AccountScreen.js | |||
@@ -10,6 +10,7 @@ import SettingsStore from '../../stores/SettingsStore'; | |||
10 | 10 | ||
11 | import AccountDashboard from '../../components/settings/account/AccountDashboard'; | 11 | import AccountDashboard from '../../components/settings/account/AccountDashboard'; |
12 | import ErrorBoundary from '../../components/util/ErrorBoundary'; | 12 | import ErrorBoundary from '../../components/util/ErrorBoundary'; |
13 | import { LIVE_FRANZ_API } from '../../config'; | ||
13 | import { WEBSITE } from '../../environment'; | 14 | import { WEBSITE } from '../../environment'; |
14 | 15 | ||
15 | export default | 16 | export default |
@@ -35,7 +36,7 @@ class AccountScreen extends Component { | |||
35 | const api = stores.settings.all.app.server; | 36 | const api = stores.settings.all.app.server; |
36 | 37 | ||
37 | let url; | 38 | let url; |
38 | if (api === 'https://api.franzinfra.com') { | 39 | if (api === LIVE_FRANZ_API) { |
39 | url = stores.user.getAuthURL( | 40 | url = stores.user.getAuthURL( |
40 | `${WEBSITE}${route}?utm_source=app&utm_medium=account_dashboard`, | 41 | `${WEBSITE}${route}?utm_source=app&utm_medium=account_dashboard`, |
41 | ); | 42 | ); |