<commit_before>import React from 'react'
import {getProducts} from '../reducers/products'
import {Link} from 'react-router'

export default (props) => {
  const products = props.allProducts
  return (
    <div className="photoTiles">
      {
        products ? products.map(product =>
            <Link className="tileLinks" to={`/products/${product.id}`} key={product.id}>
              <img src={product.photos[product.photos.length-1]} />
            </Link>
        ) : null
      }
    </div>
  )
}<commit_msg>code cleanup<commit_after>import React from 'react'
import {Link} from 'react-router'

export default (props) => {
  const products = props.allProducts
  return (
    <div className="photoTiles">
      {
        products ? products.map(product =>
            <Link className="tileLinks" to={`/products/${product.id}`} key={product.id}>
              <img src={product.photos[product.photos.length-1]} />
            </Link>
        ) : null
      }
    </div>
  )
}
{'fraction_non_alphanumeric': 0.15510204081632653, 'fraction_numerical': 0.0020408163265306124, 'mean_word_length': 2.5035714285714286, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 17, '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': '3191055', 'n_tokens_mistral': 299, 'n_tokens_neox': 293, 'n_words': 61}