<commit_before>import React, { Component } from 'react';
import config from 'config/environment';
import troopImage from 'images/Troop.png';
import styles from './idme.css';

class Idme extends Component {
  componentWillMount() {}
  idMe = () => {
    window.open(
      `${config.idmeOAuthUrl}?client_id=${config.idmeClientId}&redirect_uri=${config.host}/profile/verify&response_type=token&scope=military&display=popup', '', 'scrollbars=yes,menubar=no,status=no,location=no,toolbar=no,width=750,height=780,top=200,left=200`
    );
  };

  render() {
    return (
      <div className={styles.wrapper}>
        <span className={styles.authbtn} role="link" onClick={this.idMe} tabIndex={0}>
          <img className={styles.authImage} src={troopImage} alt="Verify your status with Id.Me" />
        </span>
      </div>
    );
  }
}

export default Idme;<commit_msg>Remove componentWillMount from idMe.js shared component<commit_after>import React, { Component } from 'react';
import config from 'config/environment';
import troopImage from 'images/Troop.png';
import styles from './idme.css';

class Idme extends Component {
  idMe = () => {
    window.open(
      `${config.idmeOAuthUrl}?client_id=${config.idmeClientId}&redirect_uri=${config.host}/profile/verify&response_type=token&scope=military&display=popup', '', 'scrollbars=yes,menubar=no,status=no,location=no,toolbar=no,width=750,height=780,top=200,left=200`
    );
  };

  render() {
    return (
      <div className={styles.wrapper}>
        <span className={styles.authbtn} role="link" onClick={this.idMe} tabIndex={0}>
          <img className={styles.authImage} src={troopImage} alt="Verify your status with Id.Me" />
        </span>
      </div>
    );
  }
}

export default Idme;
{'fraction_non_alphanumeric': 0.15961098398169338, 'fraction_numerical': 0.014874141876430207, 'mean_word_length': 4.517350157728707, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '504634', 'n_tokens_mistral': 578, 'n_tokens_neox': 554, 'n_words': 99}