<commit_before>import React from 'react';
import PropTypes from 'prop-types';

const Button = (props) => {
  const {
    handleClick,
    link,
    ...otherProps
  } = props;

  return (
    <button onSubmit={handleClick} {...otherProps} />
  );
};

Button.propTypes = {
  handleClick: PropTypes.func,
  link: PropTypes.string
};

Button.defaultProps = {
  handleClick: null,
  link: null
};

export default Button;<commit_msg>removes unused prop in Button component<commit_after>import React from 'react';
import PropTypes from 'prop-types';

const Button = (props) => {
  const {
    handleClick,
    ...otherProps
  } = props;

  return (
    <button onSubmit={handleClick} {...otherProps} />
  );
};

Button.propTypes = {
  handleClick: PropTypes.func
};

Button.defaultProps = {
  handleClick: null
};

export default Button;
{'fraction_non_alphanumeric': 0.13734939759036144, 'fraction_numerical': 0.0, 'mean_word_length': 3.467741935483871, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 7, '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': '511143', 'n_tokens_mistral': 263, 'n_tokens_neox': 264, 'n_words': 65}