mirror of
https://github.com/kingomarnajjar/flex-template-web.git
synced 2026-07-28 12:43:11 +10:00
Run Prettier
This commit is contained in:
parent
f9dca7520f
commit
202357a7c1
8 changed files with 45 additions and 42 deletions
|
|
@ -302,7 +302,7 @@ class TopbarComponent extends Component {
|
|||
closeButtonMessage={closeButtonMessage}
|
||||
>
|
||||
<div className={css.verifyEmailContent}>
|
||||
<IconEmailAttention className={css.modalIcon}/>
|
||||
<IconEmailAttention className={css.modalIcon} />
|
||||
<h1 className={css.modalTitle}>
|
||||
<FormattedMessage id="Topbar.verifyEmailTitle" />
|
||||
</h1>
|
||||
|
|
@ -325,7 +325,6 @@ class TopbarComponent extends Component {
|
|||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
</Modal>
|
||||
</div>
|
||||
|
|
|
|||
|
|
@ -170,7 +170,7 @@ export const AuthenticationPageComponent = props => {
|
|||
</span>
|
||||
<IconClose rootClassName={css.closeIcon} />
|
||||
</NamedLink>
|
||||
<IconEmailSent className={css.modalIcon}/>
|
||||
<IconEmailSent className={css.modalIcon} />
|
||||
<h1 className={css.modalTitle}>
|
||||
<FormattedMessage id="AuthenticationPage.verifyEmailTitle" values={{ name }} />
|
||||
</h1>
|
||||
|
|
@ -190,7 +190,6 @@ export const AuthenticationPageComponent = props => {
|
|||
</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
);
|
||||
|
||||
|
|
|
|||
|
|
@ -28,7 +28,7 @@ const EmailVerificationFormComponent = props => {
|
|||
const verifyEmail = (
|
||||
<div className={css.root}>
|
||||
<div>
|
||||
<IconEmailAttention className={css.modalIcon}/>
|
||||
<IconEmailAttention className={css.modalIcon} />
|
||||
<h1 className={css.modalTitle}>
|
||||
<FormattedMessage id="EmailVerificationForm.verifyEmailAddress" />
|
||||
</h1>
|
||||
|
|
@ -60,7 +60,7 @@ const EmailVerificationFormComponent = props => {
|
|||
const alreadyVerified = (
|
||||
<div className={css.root}>
|
||||
<div>
|
||||
<IconEmailSuccess className={css.modalIcon}/>
|
||||
<IconEmailSuccess className={css.modalIcon} />
|
||||
<h1 className={css.modalTitle}>
|
||||
<FormattedMessage id="EmailVerificationForm.successTitle" values={{ name }} />
|
||||
</h1>
|
||||
|
|
|
|||
|
|
@ -42,32 +42,35 @@ exports[`LoginForm matches snapshot 1`] = `
|
|||
value="" />
|
||||
</div>
|
||||
</div>
|
||||
<p
|
||||
<div
|
||||
className={undefined}>
|
||||
<span
|
||||
<p
|
||||
className={undefined}>
|
||||
<span>
|
||||
Forgot your password?
|
||||
<a
|
||||
className=""
|
||||
href="/recover-password"
|
||||
onClick={[Function]}
|
||||
style={Object {}}
|
||||
title={null}>
|
||||
<span>
|
||||
Reset password.
|
||||
</span>
|
||||
</a>
|
||||
<span
|
||||
className={undefined}>
|
||||
<span>
|
||||
Forgot your password?
|
||||
<a
|
||||
className=""
|
||||
href="/recover-password"
|
||||
onClick={[Function]}
|
||||
style={Object {}}
|
||||
title={null}>
|
||||
<span>
|
||||
Reset password.
|
||||
</span>
|
||||
</a>
|
||||
</span>
|
||||
</span>
|
||||
</span>
|
||||
</p>
|
||||
<button
|
||||
className=""
|
||||
disabled={true}
|
||||
type="submit">
|
||||
<span>
|
||||
Log in
|
||||
</span>
|
||||
</button>
|
||||
</p>
|
||||
<button
|
||||
className=""
|
||||
disabled={true}
|
||||
type="submit">
|
||||
<span>
|
||||
Log in
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
`;
|
||||
|
|
|
|||
|
|
@ -81,7 +81,6 @@ const PasswordRecoveryFormComponent = props => {
|
|||
);
|
||||
};
|
||||
|
||||
|
||||
PasswordRecoveryFormComponent.defaultProps = {
|
||||
rootClassName: null,
|
||||
className: null,
|
||||
|
|
|
|||
|
|
@ -110,7 +110,7 @@ export const PasswordRecoveryPageComponent = props => {
|
|||
/>}
|
||||
</p>
|
||||
<p className={css.helperText}>
|
||||
<FormattedMessage id="PasswordRecoveryPage.fixEmailInfo" values={{ fixEmailLink }} />
|
||||
<FormattedMessage id="PasswordRecoveryPage.fixEmailInfo" values={{ fixEmailLink }} />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
|
|
@ -119,7 +119,7 @@ export const PasswordRecoveryPageComponent = props => {
|
|||
const initialEmailText = <span className={css.email}>{initialEmail}</span>;
|
||||
const emailNotVerifiedContent = (
|
||||
<div className={css.emailNotVerifiedContent}>
|
||||
<DoorIcon className={css.modalIcon}/>
|
||||
<DoorIcon className={css.modalIcon} />
|
||||
<h1 className={css.modalTitle}>
|
||||
<FormattedMessage id="PasswordRecoveryPage.emailNotVerifiedTitle" />
|
||||
</h1>
|
||||
|
|
|
|||
|
|
@ -61,4 +61,4 @@
|
|||
|
||||
.error {
|
||||
@apply --marketplaceModalErrorStyles;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -83,13 +83,16 @@ exports[`SignupForm matches snapshot 1`] = `
|
|||
value="" />
|
||||
</div>
|
||||
</div>
|
||||
<button
|
||||
className=""
|
||||
disabled={true}
|
||||
type="submit">
|
||||
<span>
|
||||
Sign up
|
||||
</span>
|
||||
</button>
|
||||
<div
|
||||
className={undefined}>
|
||||
<button
|
||||
className=""
|
||||
disabled={true}
|
||||
type="submit">
|
||||
<span>
|
||||
Sign up
|
||||
</span>
|
||||
</button>
|
||||
</div>
|
||||
</form>
|
||||
`;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue