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

import Translate from '../Translate'

export default class DefaultDetails extends Component {
  render() {
    const {
      deleteElement,
      id
    } = this.props

    return (
      <Translate
        childProps={ { onClick: () => deleteElement(id) } }
        HtmlElement="button"
        message="delete"
      />
    )
  }
}

DefaultDetails.propTypes = {
  deleteElement: PropTypes.func.isRequired,
  id: PropTypes.number.isRequired,
}<commit_msg>Remove extra trailing comma<commit_after>import React, { PropTypes, Component } from 'react'

import Translate from '../Translate'

export default class DefaultDetails extends Component {
  render() {
    const {
      deleteElement,
      id
    } = this.props

    return (
      <Translate
        childProps={ { onClick: () => deleteElement(id) } }
        HtmlElement="button"
        message="delete"
      />
    )
  }
}

DefaultDetails.propTypes = {
  deleteElement: PropTypes.func.isRequired,
  id: PropTypes.number.isRequired
}
{'fraction_non_alphanumeric': 0.11215834118755891, 'fraction_numerical': 0.0, 'mean_word_length': 2.7928571428571427, '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': '927037', 'n_tokens_mistral': 304, 'n_tokens_neox': 303, 'n_words': 69}