<commit_before>var React = require('react');
require('../main.css');

var Main = React.createClass({
  render: function(){
    return(
      <div className="main-container">
        {this.props.children}
      </div>
    )
  }
});

module.exports = Main;
<commit_msg>Add a key to Main's children<commit_after>var React = require('react');
var ReactCSSTransitionGroup = require('react-addons-css-transition-group');
require('../main.css');

var Main = React.createClass({
  render: function(){
    return(
      <div className="main-container">
        <ReactCSSTransitionGroup
          transitionName="appear"
          transitionEnterTimeout={500}
          transitionLeaveTimeout={500}>
            {React.cloneElement(this.props.children, {key: this.props.location.pathname})}
        </ReactCSSTransitionGroup>
      </div>
    )
  }
});

module.exports = Main;

{'fraction_non_alphanumeric': 0.1510957324106113, 'fraction_numerical': 0.006920415224913495, 'mean_word_length': 3.173076923076923, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, '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': '121512', 'n_tokens_mistral': 265, 'n_tokens_neox': 259, 'n_words': 47}