<commit_before>import React from 'react'
import { Navigation } from 'components'
import { connect } from 'react-redux'
import { container, innerContainer } from './styles.css'

const MainContainer = React.createClass({
  render () {
    // console.log('props', this.props);
    return (
      <div className={container}>
        <Navigation isAuthed={this.props.isAuthed}/>
        <div className={innerContainer}>
          {this.props.children}
        </div>
      </div>
    )
  },
})

// function mapStateToProps (state) {
//   return {
//     isAuthed: state.isAuthed,
//   }
// }

export default connect(
  (state) => ({isAuthed: state.isAuthed})
)(MainContainer)<commit_msg>Add proptypes, navbar changes on isAuthed true<commit_after>import React, { PropTypes } from 'react'
import { Navigation } from 'components'
import { connect } from 'react-redux'
import { container, innerContainer } from './styles.css'

const MainContainer = React.createClass({
  propTypes: {
    isAuthed: PropTypes.bool.isRequired,
  },
  render () {
    // console.log('props', this.props);
    return (
      <div className={container}>
        <Navigation isAuthed={this.props.isAuthed}/>
        <div className={innerContainer}>
          {this.props.children}
        </div>
      </div>
    )
  },
})

// function mapStateToProps (state) {
//   return {
//     isAuthed: state.isAuthed,
//   }
// }

export default connect(
  (state) => ({isAuthed: state.isAuthed})
)(MainContainer)
{'fraction_non_alphanumeric': 0.15207060420909707, 'fraction_numerical': 0.0, 'mean_word_length': 2.994579945799458, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 15, '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': '803885', 'n_tokens_mistral': 457, 'n_tokens_neox': 456, 'n_words': 101}