mirror of
				https://github.com/elyby/accounts-frontend.git
				synced 2025-05-31 14:11:58 +05:30 
			
		
		
		
	Change prettier rules
This commit is contained in:
		@@ -1,5 +1,5 @@
 | 
			
		||||
{
 | 
			
		||||
  "title": "Did not received an E‑mail",
 | 
			
		||||
  "specifyYourEmail": "Please, enter an E‑mail you've registered with and we will send you new activation code",
 | 
			
		||||
  "sendNewEmail": "Send new E‑mail"
 | 
			
		||||
    "title": "Did not received an E‑mail",
 | 
			
		||||
    "specifyYourEmail": "Please, enter an E‑mail you've registered with and we will send you new activation code",
 | 
			
		||||
    "sendNewEmail": "Send new E‑mail"
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -4,13 +4,13 @@ import messages from './ResendActivation.intl.json';
 | 
			
		||||
import Body from './ResendActivationBody';
 | 
			
		||||
 | 
			
		||||
export default factory({
 | 
			
		||||
  title: messages.title,
 | 
			
		||||
  body: Body,
 | 
			
		||||
  footer: {
 | 
			
		||||
    color: 'blue',
 | 
			
		||||
    label: messages.sendNewEmail,
 | 
			
		||||
  },
 | 
			
		||||
  links: {
 | 
			
		||||
    label: forgotPasswordMessages.alreadyHaveCode,
 | 
			
		||||
  },
 | 
			
		||||
    title: messages.title,
 | 
			
		||||
    body: Body,
 | 
			
		||||
    footer: {
 | 
			
		||||
        color: 'blue',
 | 
			
		||||
        label: messages.sendNewEmail,
 | 
			
		||||
    },
 | 
			
		||||
    links: {
 | 
			
		||||
        label: forgotPasswordMessages.alreadyHaveCode,
 | 
			
		||||
    },
 | 
			
		||||
});
 | 
			
		||||
 
 | 
			
		||||
@@ -8,33 +8,33 @@ import styles from './resendActivation.scss';
 | 
			
		||||
import messages from './ResendActivation.intl.json';
 | 
			
		||||
 | 
			
		||||
export default class ResendActivation extends BaseAuthBody {
 | 
			
		||||
  static displayName = 'ResendActivation';
 | 
			
		||||
  static panelId = 'resendActivation';
 | 
			
		||||
  static hasGoBack = true;
 | 
			
		||||
    static displayName = 'ResendActivation';
 | 
			
		||||
    static panelId = 'resendActivation';
 | 
			
		||||
    static hasGoBack = true;
 | 
			
		||||
 | 
			
		||||
  autoFocusField = 'email';
 | 
			
		||||
    autoFocusField = 'email';
 | 
			
		||||
 | 
			
		||||
  render() {
 | 
			
		||||
    return (
 | 
			
		||||
      <div>
 | 
			
		||||
        {this.renderErrors()}
 | 
			
		||||
    render() {
 | 
			
		||||
        return (
 | 
			
		||||
            <div>
 | 
			
		||||
                {this.renderErrors()}
 | 
			
		||||
 | 
			
		||||
        <div className={styles.description}>
 | 
			
		||||
          <Message {...messages.specifyYourEmail} />
 | 
			
		||||
        </div>
 | 
			
		||||
                <div className={styles.description}>
 | 
			
		||||
                    <Message {...messages.specifyYourEmail} />
 | 
			
		||||
                </div>
 | 
			
		||||
 | 
			
		||||
        <Input
 | 
			
		||||
          {...this.bindField('email')}
 | 
			
		||||
          icon="envelope"
 | 
			
		||||
          color="blue"
 | 
			
		||||
          type="email"
 | 
			
		||||
          required
 | 
			
		||||
          placeholder={registerMessages.yourEmail}
 | 
			
		||||
          defaultValue={this.context.user.email}
 | 
			
		||||
        />
 | 
			
		||||
                <Input
 | 
			
		||||
                    {...this.bindField('email')}
 | 
			
		||||
                    icon="envelope"
 | 
			
		||||
                    color="blue"
 | 
			
		||||
                    type="email"
 | 
			
		||||
                    required
 | 
			
		||||
                    placeholder={registerMessages.yourEmail}
 | 
			
		||||
                    defaultValue={this.context.user.email}
 | 
			
		||||
                />
 | 
			
		||||
 | 
			
		||||
        <Captcha {...this.bindField('captcha')} delay={600} />
 | 
			
		||||
      </div>
 | 
			
		||||
    );
 | 
			
		||||
  }
 | 
			
		||||
                <Captcha {...this.bindField('captcha')} delay={600} />
 | 
			
		||||
            </div>
 | 
			
		||||
        );
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -1,8 +1,8 @@
 | 
			
		||||
@import '~app/components/ui/fonts.scss';
 | 
			
		||||
 | 
			
		||||
.description {
 | 
			
		||||
  font-family: $font-family-title;
 | 
			
		||||
  margin: 5px 0 19px;
 | 
			
		||||
  line-height: 1.4;
 | 
			
		||||
  font-size: 16px;
 | 
			
		||||
    font-family: $font-family-title;
 | 
			
		||||
    margin: 5px 0 19px;
 | 
			
		||||
    line-height: 1.4;
 | 
			
		||||
    font-size: 16px;
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user