diff options
Diffstat (limited to 'src/components/auth')
-rw-r--r-- | src/components/auth/AuthLayout.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/components/auth/AuthLayout.js b/src/components/auth/AuthLayout.js index 047b10775..f26282cfc 100644 --- a/src/components/auth/AuthLayout.js +++ b/src/components/auth/AuthLayout.js | |||
@@ -4,6 +4,7 @@ import { observer } from 'mobx-react'; | |||
4 | import { TitleBar } from 'electron-react-titlebar/renderer'; | 4 | import { TitleBar } from 'electron-react-titlebar/renderer'; |
5 | 5 | ||
6 | import { injectIntl } from 'react-intl'; | 6 | import { injectIntl } from 'react-intl'; |
7 | import { mdiFlash } from '@mdi/js'; | ||
7 | import Link from '../ui/Link'; | 8 | import Link from '../ui/Link'; |
8 | import InfoBar from '../ui/InfoBar'; | 9 | import InfoBar from '../ui/InfoBar'; |
9 | 10 | ||
@@ -16,6 +17,7 @@ import globalMessages from '../../i18n/globalMessages'; | |||
16 | import { isWindows } from '../../environment'; | 17 | import { isWindows } from '../../environment'; |
17 | import AppUpdateInfoBar from '../AppUpdateInfoBar'; | 18 | import AppUpdateInfoBar from '../AppUpdateInfoBar'; |
18 | import { GITHUB_FERDI_URL } from '../../config'; | 19 | import { GITHUB_FERDI_URL } from '../../config'; |
20 | import { Icon } from '../ui/icon'; | ||
19 | 21 | ||
20 | @observer | 22 | @observer |
21 | class AuthLayout extends Component { | 23 | class AuthLayout extends Component { |
@@ -61,7 +63,7 @@ class AuthLayout extends Component { | |||
61 | <div className="auth"> | 63 | <div className="auth"> |
62 | {!isOnline && ( | 64 | {!isOnline && ( |
63 | <InfoBar type="warning"> | 65 | <InfoBar type="warning"> |
64 | <span className="mdi mdi-flash" /> | 66 | <Icon icon={mdiFlash} /> |
65 | {intl.formatMessage(globalMessages.notConnectedToTheInternet)} | 67 | {intl.formatMessage(globalMessages.notConnectedToTheInternet)} |
66 | </InfoBar> | 68 | </InfoBar> |
67 | )} | 69 | )} |
@@ -81,7 +83,7 @@ class AuthLayout extends Component { | |||
81 | sticky | 83 | sticky |
82 | onClick={retryHealthCheck} | 84 | onClick={retryHealthCheck} |
83 | > | 85 | > |
84 | <span className="mdi mdi-flash" /> | 86 | <Icon icon={mdiFlash} /> |
85 | {intl.formatMessage(globalMessages.APIUnhealthy)} | 87 | {intl.formatMessage(globalMessages.APIUnhealthy)} |
86 | </InfoBar> | 88 | </InfoBar> |
87 | )} | 89 | )} |