diff options
| author | Oskar Nyberg <oskar@mullvad.net> | 2021-03-10 20:15:36 +0100 |
|---|---|---|
| committer | Oskar Nyberg <oskar@mullvad.net> | 2021-03-24 16:42:37 +0100 |
| commit | 60f78f5d4fdaeeee2e69bbe7c8026130902c80fd (patch) | |
| tree | 965ba7bade6a543623f30d09ccf957b0d691b5e3 /gui/src/renderer/components | |
| parent | 2cdb8b3839440a32f099f981638f9db7454f3e91 (diff) | |
| download | mullvadvpn-60f78f5d4fdaeeee2e69bbe7c8026130902c80fd.tar.xz mullvadvpn-60f78f5d4fdaeeee2e69bbe7c8026130902c80fd.zip | |
Limit openUrl to predefined URLs
Diffstat (limited to 'gui/src/renderer/components')
| -rw-r--r-- | gui/src/renderer/components/ErrorBoundary.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gui/src/renderer/components/ErrorBoundary.tsx b/gui/src/renderer/components/ErrorBoundary.tsx index 040ff71826..82e2910cc0 100644 --- a/gui/src/renderer/components/ErrorBoundary.tsx +++ b/gui/src/renderer/components/ErrorBoundary.tsx @@ -1,6 +1,6 @@ import React from 'react'; import styled from 'styled-components'; -import { colors, links } from '../../config.json'; +import { colors, supportEmail } from '../../config.json'; import { messages } from '../../shared/gettext'; import log from '../../shared/logging'; import PlatformWindowContainer from '../containers/PlatformWindowContainer'; @@ -71,7 +71,7 @@ export default class ErrorBoundary extends React.Component<IProps, IState> { messages .pgettext('error-boundary-view', 'Something went wrong. Please contact us at %(email)s') .split('%(email)s', 2); - reachBackMessage.splice(1, 0, <Email>{links.supportEmail}</Email>); + reachBackMessage.splice(1, 0, <Email>{supportEmail}</Email>); return ( <PlatformWindowContainer> |
