diff options
author | 2022-05-06 19:06:00 -0500 | |
---|---|---|
committer | 2022-05-06 19:06:00 -0500 | |
commit | 4df01bf76dd0c19d29587571131555639bf2b844 (patch) | |
tree | f19565f06da9d6c796bd3962d6f28a4fcff0da63 /src/components/auth/Login.js | |
parent | Regenerate i18n file (diff) | |
download | ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.tar.gz ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.tar.zst ferdium-app-4df01bf76dd0c19d29587571131555639bf2b844.zip |
Use components defined in the codebase; Extract some text for i18n purposes.
Diffstat (limited to 'src/components/auth/Login.js')
-rw-r--r-- | src/components/auth/Login.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/components/auth/Login.js b/src/components/auth/Login.js index ccffd0c6a..305ed38b2 100644 --- a/src/components/auth/Login.js +++ b/src/components/auth/Login.js | |||
@@ -13,6 +13,7 @@ import Button from '../ui/Button'; | |||
13 | import Link from '../ui/Link'; | 13 | import Link from '../ui/Link'; |
14 | 14 | ||
15 | import { globalError as globalErrorPropType } from '../../prop-types'; | 15 | import { globalError as globalErrorPropType } from '../../prop-types'; |
16 | import { H1 } from '../ui/headline'; | ||
16 | 17 | ||
17 | const messages = defineMessages({ | 18 | const messages = defineMessages({ |
18 | headline: { | 19 | headline: { |
@@ -117,7 +118,7 @@ class Login extends Component { | |||
117 | <div className="auth__container"> | 118 | <div className="auth__container"> |
118 | <form className="franz-form auth__form" onSubmit={e => this.submit(e)}> | 119 | <form className="franz-form auth__form" onSubmit={e => this.submit(e)}> |
119 | <Link to='/auth/welcome'><img src="./assets/images/logo.svg" className="auth__logo" alt="" /></Link> | 120 | <Link to='/auth/welcome'><img src="./assets/images/logo.svg" className="auth__logo" alt="" /></Link> |
120 | <h1>{intl.formatMessage(messages.headline)}</h1> | 121 | <H1>{intl.formatMessage(messages.headline)}</H1> |
121 | {isTokenExpired && ( | 122 | {isTokenExpired && ( |
122 | <p className="error-message center"> | 123 | <p className="error-message center"> |
123 | {intl.formatMessage(messages.tokenExpired)} | 124 | {intl.formatMessage(messages.tokenExpired)} |