<commit_before>const debug = require("debug")("components:letterindex")
const React = require("react")
const { connect } = require("react-redux")
const request = require("superagent")
const { Link } = require("react-router")

class letterindex extends React.Component {

  handleClick(e) {
    e.preventDefault()
  }

  render() {
    debug(this.props)
    const { dispatch, letters } = this.props
    console.log("children,", this.props.children);

    return (
      <div className="row">
        <div className="col-sm-12">
        <Link to="">
          <img id="back" src="../../images/back.gif" alt="back button" />
        </Link>
          {
          letters.map((letter) => {
            return (
              <Link
                key={letter.id}
                to={`/letterIndex/${letter.capital}`}>
                <div
                  className="btn-group btn-group-lg btn-group-center wiggle-me"
                  role="group"
                  aria-label="...">

                  <button
                    type="button"
                    className="btn"
                    onClick={() =>
                        dispatch({
                          type: "RENDER_LETTER",
                          payload: { letter },
                        })
                    }>
                  {letter.capital}
                  </button>
                </div>
              </Link>
            )
          })
        }

                <Link to="">
                  <img id="next" src="../../images/next.gif" alt="next button" />
                </Link>

          {this.props.children}

        </div>
      </div>
    )
  }
}

module.exports = connect(state => state)(letterindex)
<commit_msg>another lowercase letterindex name change<commit_after>const debug = require("debug")("components:letterindex")
const React = require("react")
const { connect } = require("react-redux")
const request = require("superagent")
const { Link } = require("react-router")

class letterindex extends React.Component {

  handleClick(e) {
    e.preventDefault()
  }

  render() {
    debug(this.props)
    const { dispatch, letters } = this.props
    console.log("children,", this.props.children);

    return (
      <div className="row">
        <div className="col-sm-12">
        <Link to="">
          <img id="back" src="../../images/back.gif" alt="back button" />
        </Link>
          {
          letters.map((letter) => {
            return (
              <Link
                key={letter.id}
                to={`/letterindex/${letter.capital}`}>
                <div
                  className="btn-group btn-group-lg btn-group-center wiggle-me"
                  role="group"
                  aria-label="...">

                  <button
                    type="button"
                    className="btn"
                    onClick={() =>
                        dispatch({
                          type: "RENDER_LETTER",
                          payload: { letter },
                        })
                    }>
                  {letter.capital}
                  </button>
                </div>
              </Link>
            )
          })
        }

                <Link to="">
                  <img id="next" src="../../images/next.gif" alt="next button" />
                </Link>

          {this.props.children}

        </div>
      </div>
    )
  }
}

module.exports = connect(state => state)(letterindex)

{'fraction_non_alphanumeric': 0.1438474870017331, 'fraction_numerical': 0.0011554015020219526, 'mean_word_length': 1.2443292287751133, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 41, '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': '6248978', 'n_tokens_mistral': 932, 'n_tokens_neox': 876, 'n_words': 166}