<commit_before>import React, { PropTypes } from 'react';
import Immutable from 'immutable';
import { Button } from 'react-bootstrap';
import styles from '../styles.module.css';

const EditProfile = ({onSubmit}) => {
  return(
    <div>
      <div>EditProfileComponent!</div>
      <Button onClick={onSubmit}>Submit</Button>
    </div>
  );
};

EditProfile.propTypes = {
  onSubmit: PropTypes.func.isRequired
};

export default EditProfile;<commit_msg>Add document title and page header<commit_after>import React, { PropTypes } from 'react';
import Immutable from 'immutable';
import { Button } from 'react-bootstrap';
import DocumentTitle from 'react-document-title';
import Page from '../../../components/page/Page';
import styles from '../styles.module.css';

const EditProfile = ({ userDetails, onSubmit }) => {
  return (
    <DocumentTitle title="Edit Profile">
      <Page>
        <Page.Header>
          <Page.Title>Edit Profile</Page.Title>
        </Page.Header>
        <div>EditProfileComponent!</div>
        <Button onClick={onSubmit}>Submit</Button>
      </Page>
    </DocumentTitle>
  );
};

EditProfile.propTypes = {
  onSubmit: PropTypes.func.isRequired
};

export default EditProfile;
{'fraction_non_alphanumeric': 0.1461794019933555, 'fraction_numerical': 0.0, 'mean_word_length': 3.70703125, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, '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': '6030912', 'n_tokens_mistral': 345, 'n_tokens_neox': 350, 'n_words': 85}