<commit_before>import React,{ Component } from 'react';

export default class DashboardUserSingle extends Component {
  render() {
    return(
      <tr>
        <td>{this.props.user.emails[0].address}</td>
        <td>{this.props.user.username}</td>
        <td>{this.props.user.profile.notif_email ? "oui" : "non"}</td>
        <td>Button</td>
      </tr>
    );
  }
}<commit_msg>Check if username only in dashboard users screen<commit_after>import React,{ Component } from 'react';

export default class DashboardUserSingle extends Component {
  render() {
    return(
      <tr>
        <td>{'emails' in this.props.user ? this.props.user.emails[0].address : "Username only"}</td>
        <td>{this.props.user.username}</td>
        <td>{this.props.user.profile.notif_email ? "oui" : "non"}</td>
        <td>Button</td>
      </tr>
    );
  }
}
{'fraction_non_alphanumeric': 0.17001180637544275, 'fraction_numerical': 0.0023612750885478157, 'mean_word_length': 2.872146118721461, 'pattern_counts': {'":': 0, '<': 23, '<?xml version=': 0, '>': 23, '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': '4260905', 'n_tokens_mistral': 285, 'n_tokens_neox': 280, 'n_words': 54}