<commit_before>import React from 'react';
import { withRouter } from 'react-router';
import Reflux from 'reflux';

import Store from './ChannelHistoryStore';

import ChannelHistory from './ChannelHistory';

const ChannelHistoryMessages = React.createClass({
  mixins: [Reflux.connect(Store)],

  render() {
    const { channelName } = this.props;

    return <ChannelHistory channelName={channelName} />;
  }
});

export default withRouter(ChannelHistoryMessages);<commit_msg>[DASH-2187] Fix fetching channel history messages<commit_after>import React from 'react';
import { withRouter } from 'react-router';
import Reflux from 'reflux';

import Store from './ChannelHistoryStore';

import ChannelHistory from './ChannelHistory';

const ChannelHistoryMessages = React.createClass({
  mixins: [Reflux.connect(Store)],

  render() {
    const { channelName } = this.props.params;

    return <ChannelHistory channelName={channelName} />;
  }
});

export default withRouter(ChannelHistoryMessages);
{'fraction_non_alphanumeric': 0.12060301507537688, 'fraction_numerical': 0.004020100502512563, 'mean_word_length': 5.467532467532467, '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': '5319445', 'n_tokens_mistral': 283, 'n_tokens_neox': 267, 'n_words': 74}