diff options
Diffstat (limited to 'src/components/auth/AuthLayout.js')
-rw-r--r-- | src/components/auth/AuthLayout.js | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/components/auth/AuthLayout.js b/src/components/auth/AuthLayout.js index c0e6b982b..8235932c2 100644 --- a/src/components/auth/AuthLayout.js +++ b/src/components/auth/AuthLayout.js | |||
@@ -28,7 +28,6 @@ class AuthLayout extends Component { | |||
28 | retryHealthCheck: PropTypes.func.isRequired, | 28 | retryHealthCheck: PropTypes.func.isRequired, |
29 | isHealthCheckLoading: PropTypes.bool.isRequired, | 29 | isHealthCheckLoading: PropTypes.bool.isRequired, |
30 | isFullScreen: PropTypes.bool.isRequired, | 30 | isFullScreen: PropTypes.bool.isRequired, |
31 | nextAppReleaseVersion: PropTypes.string, | ||
32 | installAppUpdate: PropTypes.func.isRequired, | 31 | installAppUpdate: PropTypes.func.isRequired, |
33 | appUpdateIsDownloaded: PropTypes.bool.isRequired, | 32 | appUpdateIsDownloaded: PropTypes.bool.isRequired, |
34 | }; | 33 | }; |
@@ -37,10 +36,6 @@ class AuthLayout extends Component { | |||
37 | shouldShowAppUpdateInfoBar: true, | 36 | shouldShowAppUpdateInfoBar: true, |
38 | }; | 37 | }; |
39 | 38 | ||
40 | static defaultProps = { | ||
41 | nextAppReleaseVersion: null, | ||
42 | }; | ||
43 | |||
44 | static contextTypes = { | 39 | static contextTypes = { |
45 | intl: intlShape, | 40 | intl: intlShape, |
46 | }; | 41 | }; |
@@ -54,7 +49,6 @@ class AuthLayout extends Component { | |||
54 | retryHealthCheck, | 49 | retryHealthCheck, |
55 | isHealthCheckLoading, | 50 | isHealthCheckLoading, |
56 | isFullScreen, | 51 | isFullScreen, |
57 | nextAppReleaseVersion, | ||
58 | installAppUpdate, | 52 | installAppUpdate, |
59 | appUpdateIsDownloaded, | 53 | appUpdateIsDownloaded, |
60 | } = this.props; | 54 | } = this.props; |
@@ -77,7 +71,6 @@ class AuthLayout extends Component { | |||
77 | )} | 71 | )} |
78 | {appUpdateIsDownloaded && this.state.shouldShowAppUpdateInfoBar && ( | 72 | {appUpdateIsDownloaded && this.state.shouldShowAppUpdateInfoBar && ( |
79 | <AppUpdateInfoBar | 73 | <AppUpdateInfoBar |
80 | nextAppReleaseVersion={nextAppReleaseVersion} | ||
81 | onInstallUpdate={installAppUpdate} | 74 | onInstallUpdate={installAppUpdate} |
82 | onHide={() => { | 75 | onHide={() => { |
83 | this.setState({ shouldShowAppUpdateInfoBar: false }); | 76 | this.setState({ shouldShowAppUpdateInfoBar: false }); |