aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/auth/Login.js
diff options
context:
space:
mode:
authorLibravatar Vijay A <vraravam@users.noreply.github.com>2022-05-06 19:06:00 -0500
committerLibravatar Vijay A <vraravam@users.noreply.github.com>2022-05-06 19:06:00 -0500
commit4df01bf76dd0c19d29587571131555639bf2b844 (patch)
treef19565f06da9d6c796bd3962d6f28a4fcff0da63 /src/components/auth/Login.js
parentRegenerate i18n file (diff)
downloadferdium-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.js3
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';
13import Link from '../ui/Link'; 13import Link from '../ui/Link';
14 14
15import { globalError as globalErrorPropType } from '../../prop-types'; 15import { globalError as globalErrorPropType } from '../../prop-types';
16import { H1 } from '../ui/headline';
16 17
17const messages = defineMessages({ 18const 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)}