<commit_before>import React, { PropTypes } from 'react'
import { Provider } from 'react-redux'
import { Router } from 'react-router'

import DevTools from './DevTools'
import routes from 'common/routes'

const propTypes = {
  history: PropTypes.object.isRequired,
  store: PropTypes.object.isRequired
}

function RootDev(props) {
  const { history, store } = props
  const showDevTools = () => (__DEBUG__ ? (<DevTools />) : null)

  return (
    <Provider store={store}>
      <div className="app">
        <Router history={history}>
          { routes }
        </Router>
        { showDevTools() }
      </div>
    </Provider>
  )
}

RootDev.propTypes = propTypes

export default RootDev<commit_msg>refactor(RootDev): use shortcut<commit_after>import React, { PropTypes } from 'react'
import { Provider } from 'react-redux'
import { Router } from 'react-router'

import DevTools from './DevTools'
import routes from 'common/routes'

const propTypes = {
  history: PropTypes.object.isRequired,
  store: PropTypes.object.isRequired
}

function RootDev(props) {
  const { history, store } = props
  const showDevTools = () => (__DEBUG__ ? (<DevTools />) : null)

  return (
    <Provider store={store}>
      <div className="app">
        <Router history={history} routes={routes} />
        { showDevTools() }
      </div>
    </Provider>
  )
}

RootDev.propTypes = propTypes

export default RootDev
{'fraction_non_alphanumeric': 0.13152251608291637, 'fraction_numerical': 0.0, 'mean_word_length': 3.416403785488959, 'pattern_counts': {'":': 0, '<': 16, '<?xml version=': 0, '>': 18, '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': '7228487', 'n_tokens_mistral': 426, 'n_tokens_neox': 427, 'n_words': 110}