aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/AppUpdateInfoBar.tsx
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/AppUpdateInfoBar.tsx')
-rw-r--r--src/components/AppUpdateInfoBar.tsx4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/AppUpdateInfoBar.tsx b/src/components/AppUpdateInfoBar.tsx
index 1dd3723cc..d2402945e 100644
--- a/src/components/AppUpdateInfoBar.tsx
+++ b/src/components/AppUpdateInfoBar.tsx
@@ -1,8 +1,10 @@
1import { defineMessages, useIntl } from 'react-intl'; 1import { defineMessages, useIntl } from 'react-intl';
2 2
3import { mdiInformation } from '@mdi/js';
3import InfoBar from './ui/InfoBar'; 4import InfoBar from './ui/InfoBar';
4import { GITHUB_FERDI_URL } from '../config'; 5import { GITHUB_FERDI_URL } from '../config';
5import { openExternalUrl } from '../helpers/url-helpers'; 6import { openExternalUrl } from '../helpers/url-helpers';
7import { Icon } from './ui/icon';
6 8
7const messages = defineMessages({ 9const messages = defineMessages({
8 updateAvailable: { 10 updateAvailable: {
@@ -34,7 +36,7 @@ const AppUpdateInfoBar = ({ onInstallUpdate, onHide }: Props) => {
34 onClick={onInstallUpdate} 36 onClick={onInstallUpdate}
35 onHide={onHide} 37 onHide={onHide}
36 > 38 >
37 <span className="mdi mdi-information" /> 39 <Icon icon={mdiInformation} />
38 {intl.formatMessage(messages.updateAvailable)}{' '} 40 {intl.formatMessage(messages.updateAvailable)}{' '}
39 <button 41 <button
40 className="info-bar__inline-button" 42 className="info-bar__inline-button"