<commit_before>import 'styles/components/Menu'

import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
import LinkItem from 'components/Menu/LinkItem'

const menu = [
  {
    text: 'Home',
    link: '/',
  }, {
    text: 'About',
    link: '/about',
  }, {
    text: 'Items',
    link: '/catalog',
  },
]

class Menu extends Component {
  static propTypes = {
    current: PropTypes.string.isRequired,
  }

  render() {
    const { current } = this.props
    const items = menu.map(item => <LinkItem {...item} key={item.id} route={current} />)
    return (
      <div className="menu">
        <ul>{items}</ul>
      </div>
    )
  }
}

export default connect()(Menu)
<commit_msg>Menu don't have id<commit_after>import 'styles/components/Menu'

import React, { Component, PropTypes } from 'react'
import { connect } from 'react-redux'
import LinkItem from 'components/Menu/LinkItem'

const menu = [{
  text: 'Home',
  link: '/',
}, {
  text: 'About',
  link: '/about',
}, {
  text: 'Items',
  link: '/catalog',
}]

class Menu extends Component {
  static propTypes = {
    current: PropTypes.string.isRequired,
  }

  render() {
    const { current } = this.props
    const items = menu.map(item => <LinkItem {...item} key={item.text} route={current} />)
    return (
      <div className="menu">
        <ul>{items}</ul>
      </div>
    )
  }
}

export default connect()(Menu)

{'fraction_non_alphanumeric': 0.16973125884016974, 'fraction_numerical': 0.0, 'mean_word_length': 2.9305555555555554, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '5276404', 'n_tokens_mistral': 470, 'n_tokens_neox': 470, 'n_words': 115}