<commit_before>import injectTapEventPlugin from 'react-tap-event-plugin'
import React, { PropTypes } from 'react'
import { Router, Route, hashHistory } from 'react-router'
import { reduxReactRouter, ReduxRouter } from 'redux-router'
import { createStore, applyMiddleware, compose } from 'redux'
import thunk from 'redux-thunk'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import reducers from './reducers/reducers'
import { fetchProfile } from './actions/profile'
import createHashHistory from 'history/lib/createHashHistory'

import '../styles/styles.scss' // Load global overrides (as few as possible please)
import colours from '!!sass-variable-loader!client_portal-assets/dist/sass/colours.scss' // Load Reevoo colour variables

import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'
import getMuiTheme from 'material-ui/styles/getMuiTheme'

import Header from './containers/header'
import LeftHandNavContainer from './containers/left_hand_nav_container'
import DashboardPanelContainer from './containers/dashboard_panel_container'
import FeedbackifyContainer from './containers/feedbackify_container'

import Auth from './services/auth'

// Initialize authorization
Auth.init()

// Needed for onTouchTap
// http://stackoverflow.com/a/34015469/988941
injectTapEventPlugin()

const rvMuiTheme = getMuiTheme({
  appBar: {
    color: colours.reevooOrange,
  },
  fontFamily: 'Open Sans, sans-serif',
  zIndex: {
    appBar: 1350, // Puts us over the left hand nav
  },
})

// Compose reduxReactRouter with other store enhancers
const store = compose(
  applyMiddleware(thunk),
  reduxReactRouter({ createHistory: createHashHistory })
)(createStore)(reducers)

store.dispatch(fetchProfile())

const App = ({ children, params }) => (
  <MuiThemeProvider muiTheme={rvMuiTheme}>
    <div>
      <Header />
      <LeftHandNavContainer selectedItem={params.id} />
      <FeedbackifyContainer />
      {children}<commit_msg>Adding MainContent component to app<commit_after>import injectTapEventPlugin from 'react-tap-event-plugin'
import React, { PropTypes } from 'react'
import { Router, Route, hashHistory } from 'react-router'
import { reduxReactRouter, ReduxRouter } from 'redux-router'
import { createStore, applyMiddleware, compose } from 'redux'
import thunk from 'redux-thunk'
import { render } from 'react-dom'
import { Provider } from 'react-redux'
import reducers from './reducers/reducers'
import { fetchProfile } from './actions/profile'
import createHashHistory from 'history/lib/createHashHistory'

import '../styles/styles.scss' // Load global overrides (as few as possible please)
import colours from '!!sass-variable-loader!client_portal-assets/dist/sass/colours.scss' // Load Reevoo colour variables

import MuiThemeProvider from 'material-ui/styles/MuiThemeProvider'
import getMuiTheme from 'material-ui/styles/getMuiTheme'

import Header from './containers/header'
import MainContent from './components/main_content/main_content'
import LeftHandNavContainer from './containers/left_hand_nav_container'
import DashboardPanelContainer from './containers/dashboard_panel_container'
import FeedbackifyContainer from './containers/feedbackify_container'

import Auth from './services/auth'

// Initialize authorization
Auth.init()

// Needed for onTouchTap
// http://stackoverflow.com/a/34015469/988941
injectTapEventPlugin()

const rvMuiTheme = getMuiTheme({
  appBar: {
    color: colours.reevooOrange,
  },
  fontFamily: 'Open Sans, sans-serif',
  zIndex: {
    appBar: 1350, // Puts us over the left hand nav
  },
})

// Compose reduxReactRouter with other store enhancers
const store = compose(
  applyMiddleware(thunk),
  reduxReactRouter({ createHistory: createHashHistory })
)(createStore)(reducers)

store.dispatch(fetchProfile())

const App = ({ children, params }) => (
  <MuiThemeProvider muiTheme={rvMuiTheme}>
    <div>
      <Header />
      <LeftHandNavContainer selectedItem={params.id} />
      <FeedbackifyContainer />
      <MainContent>
        {children}
      </MainContent>
{'fraction_non_alphanumeric': 0.11042490118577075, 'fraction_numerical': 0.008893280632411068, 'mean_word_length': 4.936950146627566, 'pattern_counts': {'":': 0, '<': 15, '<?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': '2794471', 'n_tokens_mistral': 1237, 'n_tokens_neox': 1206, 'n_words': 311}