diff options
Diffstat (limited to 'src/components/AppUpdateInfoBar.js')
-rw-r--r-- | src/components/AppUpdateInfoBar.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/components/AppUpdateInfoBar.js b/src/components/AppUpdateInfoBar.js index 4108fdf12..f51fe029b 100644 --- a/src/components/AppUpdateInfoBar.js +++ b/src/components/AppUpdateInfoBar.js | |||
@@ -24,6 +24,7 @@ class AppUpdateInfoBar extends Component { | |||
24 | static propTypes = { | 24 | static propTypes = { |
25 | onInstallUpdate: PropTypes.func.isRequired, | 25 | onInstallUpdate: PropTypes.func.isRequired, |
26 | nextAppReleaseVersion: PropTypes.string, | 26 | nextAppReleaseVersion: PropTypes.string, |
27 | onHide: PropTypes.func.isRequired, | ||
27 | }; | 28 | }; |
28 | 29 | ||
29 | static defaultProps = { | 30 | static defaultProps = { |
@@ -39,6 +40,7 @@ class AppUpdateInfoBar extends Component { | |||
39 | const { | 40 | const { |
40 | onInstallUpdate, | 41 | onInstallUpdate, |
41 | nextAppReleaseVersion, | 42 | nextAppReleaseVersion, |
43 | onHide, | ||
42 | } = this.props; | 44 | } = this.props; |
43 | 45 | ||
44 | return ( | 46 | return ( |
@@ -46,7 +48,7 @@ class AppUpdateInfoBar extends Component { | |||
46 | type="primary" | 48 | type="primary" |
47 | ctaLabel={intl.formatMessage(messages.buttonInstallUpdate)} | 49 | ctaLabel={intl.formatMessage(messages.buttonInstallUpdate)} |
48 | onClick={onInstallUpdate} | 50 | onClick={onInstallUpdate} |
49 | sticky | 51 | onHide={onHide} |
50 | > | 52 | > |
51 | <span className="mdi mdi-information" /> | 53 | <span className="mdi mdi-information" /> |
52 | {intl.formatMessage(messages.updateAvailable)} | 54 | {intl.formatMessage(messages.updateAvailable)} |