<commit_before>import React from "react";
import PropTypes from "prop-types";
import classNames from "classnames";
import "./style.css";

export default class ActionButton extends React.Component {
  render() {
    return (
      <button type="button" {...this.props} className={classNames("btn-action", {"active": this.props.isActive}, this.props.className)} />
    );
  }

  static propTypes = {
    className: PropTypes.string.isRequired,
    isActive: PropTypes.bool
  };
}
<commit_msg>dont pass isActive to the button<commit_after>import React from "react";
import PropTypes from "prop-types";
import classNames from "classnames";
import "./style.css";

export default class ActionButton extends React.Component {
  render() {
    const props = {...this.props};
    delete props.isActive;
    return (
      <button type="button" {...props} className={classNames("btn-action", {"active": this.props.isActive}, this.props.className)} />
    );
  }

  static propTypes = {
    className: PropTypes.string.isRequired,
    isActive: PropTypes.bool
  };
}

{'fraction_non_alphanumeric': 0.14109848484848486, 'fraction_numerical': 0.0, 'mean_word_length': 3.939252336448598, 'pattern_counts': {'":': 2, '<': 5, '<?xml version=': 0, '>': 5, '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': '4889005', 'n_tokens_mistral': 303, 'n_tokens_neox': 306, 'n_words': 80}