<commit_before>import warning from 'warning'
import invariant from 'invariant'
import Route from './Route'
import React, { PropTypes } from 'react'

/**
 * The public API for putting history on context.
 */
class Router extends React.Component {
  static propTypes = {
    history: PropTypes.object.isRequired,
    children: PropTypes.node
  }

  static childContextTypes = {
    history: PropTypes.object.isRequired,
    route: PropTypes.object.isRequired
  }
<commit_msg>remove unused childContextType<commit_after>import warning from 'warning'
import invariant from 'invariant'
import Route from './Route'
import React, { PropTypes } from 'react'

/**
 * The public API for putting history on context.
 */
class Router extends React.Component {
  static propTypes = {
    history: PropTypes.object.isRequired,
    children: PropTypes.node
  }

  static childContextTypes = {
    history: PropTypes.object.isRequired
  }

{'fraction_non_alphanumeric': 0.09100758396533044, 'fraction_numerical': 0.0, 'mean_word_length': 4.049180327868853, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '1773756', 'n_tokens_mistral': 248, 'n_tokens_neox': 252, 'n_words': 82}