diff options
Diffstat (limited to 'src/components/auth/AuthLayout.js')
-rw-r--r-- | src/components/auth/AuthLayout.js | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/components/auth/AuthLayout.js b/src/components/auth/AuthLayout.js index 4e1b0c52e..ac8fdbe5b 100644 --- a/src/components/auth/AuthLayout.js +++ b/src/components/auth/AuthLayout.js | |||
@@ -15,7 +15,6 @@ import { isWindows } from '../../environment'; | |||
15 | export default @observer class AuthLayout extends Component { | 15 | export default @observer class AuthLayout extends Component { |
16 | static propTypes = { | 16 | static propTypes = { |
17 | children: oneOrManyChildElements.isRequired, | 17 | children: oneOrManyChildElements.isRequired, |
18 | pathname: PropTypes.string.isRequired, | ||
19 | error: globalErrorPropType.isRequired, | 18 | error: globalErrorPropType.isRequired, |
20 | isOnline: PropTypes.bool.isRequired, | 19 | isOnline: PropTypes.bool.isRequired, |
21 | isAPIHealthy: PropTypes.bool.isRequired, | 20 | isAPIHealthy: PropTypes.bool.isRequired, |
@@ -32,7 +31,6 @@ export default @observer class AuthLayout extends Component { | |||
32 | render() { | 31 | render() { |
33 | const { | 32 | const { |
34 | children, | 33 | children, |
35 | pathname, | ||
36 | error, | 34 | error, |
37 | isOnline, | 35 | isOnline, |
38 | isAPIHealthy, | 36 | isAPIHealthy, |
@@ -45,8 +43,8 @@ export default @observer class AuthLayout extends Component { | |||
45 | 43 | ||
46 | return ( | 44 | return ( |
47 | <div className={darkMode ? 'theme__dark' : ''}> | 45 | <div className={darkMode ? 'theme__dark' : ''}> |
48 | {isWindows && !isFullScreen && <TitleBar menu={window.franz.menu.template} icon={'assets/images/logo.svg'} />} | 46 | {isWindows && !isFullScreen && <TitleBar menu={window.franz.menu.template} icon="assets/images/logo.svg" />} |
49 | <div className={'auth'}> | 47 | <div className="auth"> |
50 | {!isOnline && ( | 48 | {!isOnline && ( |
51 | <InfoBar | 49 | <InfoBar |
52 | type="warning" | 50 | type="warning" |