<commit_before>/**
 *
 * App.react.js
 *
 * This component is the skeleton around the actual pages, and should only
 * contain code that should be seen on all pages. (e.g. navigation bar)
 */

import React from 'react';
import Helmet from 'react-helmet';
import { AppBar } from 'material-ui';


// Import the CSS reset, which HtmlWebpackPlugin transfers to the build folder
import 'sanitize.css/sanitize.css';

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

import styles from './styles.css';

function App(props) {
  return (
    <MuiThemeProvider>

      <div className={styles.wrapper}>
        <Helmet
          titleTemplate="%s | Hustle SA"
          defaultTitle="Hustle SA"
          meta={[
            { name: 'description', content: 'Hustle SA dancers rating' },
          ]}
        />

        <AppBar
          title="Hustle SA"
        />

        {React.Children.toArray(props.children)}

      </div>

    </MuiThemeProvider>
  );
}

App.propTypes = {
  children: React.PropTypes.node,
};

export default App;
<commit_msg>Go to home<commit_after>/**
 *
 * App.react.js
 *
 * This component is the skeleton around the actual pages, and should only
 * contain code that should be seen on all pages. (e.g. navigation bar)
 */

import React from 'react';
import Helmet from 'react-helmet';
import { AppBar } from 'material-ui';
import { push } from 'react-router-redux';
import { connect } from 'react-redux';
import { createStructuredSelector } from 'reselect';



// Import the CSS reset, which HtmlWebpackPlugin transfers to the build folder
import 'sanitize.css/sanitize.css';

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

import styles from './styles.css';

function App(props) {
  return (
    <MuiThemeProvider>

      <div className={styles.wrapper}>
        <Helmet
          titleTemplate="%s | Hustle SA"
          defaultTitle="Hustle SA"
          meta={[
            { name: 'description', content: 'Hustle SA dancers rating' },
          ]}
        />

        <AppBar
          onTitleTouchTap={props.handleTitleTouchTap}
          title="Hustle SA"
        />

        {React.Children.toArray(props.children)}

      </div>

    </MuiThemeProvider>
  );
}

App.propTypes = {
  children: React.PropTypes.node,
  handleTitleTouchTap: React.PropTypes.func,
};

const mapStateToProps = createStructuredSelector({
});


function mapDispatchToProps(dispatch) {
  return {
    dispatch,
    handleTitleTouchTap: () => dispatch(push('/')),
  };
}

export default connect(mapStateToProps, mapDispatchToProps)(App);

{'fraction_non_alphanumeric': 0.1192873741285825, 'fraction_numerical': 0.0, 'mean_word_length': 2.919575113808801, 'pattern_counts': {'":': 0, '<': 15, '<?xml version=': 0, '>': 16, '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': '1523838', 'n_tokens_mistral': 792, 'n_tokens_neox': 775, 'n_words': 209}