diff options
author | 2018-11-16 20:38:56 +0100 | |
---|---|---|
committer | 2018-11-16 20:38:56 +0100 | |
commit | 6f89aa6853d2d5cdaa1262452280bb78ef7f5b89 (patch) | |
tree | 4e5081c1bf68970a3b32432dd67f2f20ca72bbc1 /src/components/auth | |
parent | Merge branch 'develop' into feature/dark-theme (diff) | |
download | ferdium-app-6f89aa6853d2d5cdaa1262452280bb78ef7f5b89.tar.gz ferdium-app-6f89aa6853d2d5cdaa1262452280bb78ef7f5b89.tar.zst ferdium-app-6f89aa6853d2d5cdaa1262452280bb78ef7f5b89.zip |
Fix linting
Diffstat (limited to 'src/components/auth')
-rw-r--r-- | src/components/auth/AuthLayout.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/components/auth/AuthLayout.js b/src/components/auth/AuthLayout.js index 2c2d1dd19..032588471 100644 --- a/src/components/auth/AuthLayout.js +++ b/src/components/auth/AuthLayout.js | |||
@@ -19,7 +19,7 @@ export default @observer class AuthLayout extends Component { | |||
19 | isAPIHealthy: PropTypes.bool.isRequired, | 19 | isAPIHealthy: PropTypes.bool.isRequired, |
20 | retryHealthCheck: PropTypes.func.isRequired, | 20 | retryHealthCheck: PropTypes.func.isRequired, |
21 | isHealthCheckLoading: PropTypes.bool.isRequired, | 21 | isHealthCheckLoading: PropTypes.bool.isRequired, |
22 | darkMode: PropTypes.bool.isRequired | 22 | darkMode: PropTypes.bool.isRequired, |
23 | }; | 23 | }; |
24 | 24 | ||
25 | static contextTypes = { | 25 | static contextTypes = { |
@@ -35,12 +35,12 @@ export default @observer class AuthLayout extends Component { | |||
35 | isAPIHealthy, | 35 | isAPIHealthy, |
36 | retryHealthCheck, | 36 | retryHealthCheck, |
37 | isHealthCheckLoading, | 37 | isHealthCheckLoading, |
38 | darkMode | 38 | darkMode, |
39 | } = this.props; | 39 | } = this.props; |
40 | const { intl } = this.context; | 40 | const { intl } = this.context; |
41 | 41 | ||
42 | return ( | 42 | return ( |
43 | <div className={"auth" + (darkMode ? 'theme__dark' : '')}> | 43 | <div className={`auth${darkMode ? ' theme__dark' : ''}`}> |
44 | {!isOnline && ( | 44 | {!isOnline && ( |
45 | <InfoBar | 45 | <InfoBar |
46 | type="warning" | 46 | type="warning" |