<commit_before>'use strict';

var React = require('react/addons');
var User = require('./User.jsx');

module.exports = React.createClass({
  render: function () {
    var users = this.props.users.map(function (user) {
      return (
        <User user={user} toggleMute={this.props.toggleMute} />
      );
    }.bind(this));

    return (
      <div>
        <h5 className="text-muted">Peers</h5>
        {users}
      </div>
    );
  }
});<commit_msg>Added: provide a "key" property<commit_after>'use strict';

var React = require('react/addons');
var User = require('./User.jsx');

module.exports = React.createClass({
  render: function () {
    var users = this.props.users.map(function (user) {
      return (
        <User user={user} key={user.getUsername()} toggleMute={this.props.toggleMute} />
      );
    }.bind(this));

    return (
      <div>
        <h5 className="text-muted">Peers</h5>
        {users}
      </div>
    );
  }
});
{'fraction_non_alphanumeric': 0.18268215417106654, 'fraction_numerical': 0.004223864836325237, 'mean_word_length': 2.632183908045977, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '3725653', 'n_tokens_mistral': 319, 'n_tokens_neox': 315, 'n_words': 59}