<commit_before>import React from 'react';
import PropTypes from 'prop-types';
import UpdatePassword from './UpdatePassword';
import UpdateAccount from './UpdateAccount';
import PageTitle from './PageTitle';
import ViewContainer from './ViewContainer';

const MyAccountView = (props, context) => {
  const language = context.language.MyAccountView;

  return (
    <ViewContainer>
      <PageTitle>{language.myAccount}</PageTitle>
      <UpdateAccount />
      <UpdatePassword />
    </ViewContainer>
  );
};

MyAccountView.contextTypes = {
  language: PropTypes.object,
};

export default MyAccountView;
<commit_msg>moved contextTypes to the top<commit_after>import React from 'react';
import PropTypes from 'prop-types';
import UpdatePassword from './UpdatePassword';
import UpdateAccount from './UpdateAccount';
import PageTitle from './PageTitle';
import ViewContainer from './ViewContainer';

const contextTypes = {
  language: PropTypes.object,
};

const MyAccountView = (props, context) => {
  const language = context.language.MyAccountView;

  return (
    <ViewContainer>
      <PageTitle>{language.myAccount}</PageTitle>
      <UpdateAccount />
      <UpdatePassword />
    </ViewContainer>
  );
};

MyAccountView.contextTypes = contextTypes;

export default MyAccountView;

{'fraction_non_alphanumeric': 0.11682242990654206, 'fraction_numerical': 0.0, 'mean_word_length': 4.538793103448276, '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': '1444108', 'n_tokens_mistral': 342, 'n_tokens_neox': 343, 'n_words': 93}