<commit_before>import React from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import * as Immutable from 'seamless-immutable';
import { requestFeedNotifications, filterByType } from 'actions/feedActions';
import { FeedNotification } from 'presentationals/feed/FeedNotification';
import FeedToolbar from 'presentationals/feed/FeedToolbar';
import { feedNotificationTypes } from '../constants/feedConstants';

function renderFeedNotification(el) {
  return (
    <FeedNotification
      timestamp={el.timestamp}
      concernedUser={el.concernedUser}
      targetDeck={el.targetDeck}
      type={el.type}
    />
  );
}

class Feed extends React.Component {
  componentWillMount() {
    this.props.requestFeedNotifications();
  }

  render() {<commit_msg>Fixed react warning about keys<commit_after>import React from 'react';
import { bindActionCreators } from 'redux';
import { connect } from 'react-redux';
import PropTypes from 'prop-types';
import * as Immutable from 'seamless-immutable';
import { requestFeedNotifications, filterByType } from 'actions/feedActions';
import { FeedNotification } from 'presentationals/feed/FeedNotification';
import FeedToolbar from 'presentationals/feed/FeedToolbar';
import { feedNotificationTypes } from '../constants/feedConstants';

function renderFeedNotification(el) {
  return (
    <FeedNotification
      key={el.timestamp}
      timestamp={el.timestamp}
      concernedUser={el.concernedUser}
      targetDeck={el.targetDeck}
      type={el.type}
    />
  );
}

class Feed extends React.Component {
  componentWillMount() {
    this.props.requestFeedNotifications();
  }

  render() {
{'fraction_non_alphanumeric': 0.11214953271028037, 'fraction_numerical': 0.0, 'mean_word_length': 4.806779661016949, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 5, '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': '5924182', 'n_tokens_mistral': 481, 'n_tokens_neox': 478, 'n_words': 111}