<commit_before>import React, { Component, PropTypes } from 'react';

export default class Logout extends Component {
  render() {
    const { onLogoutClick } = this.props;

    return (
        <a href="/" onClick={() => onLogoutClick()}>
          Logout
        </a>
    )
  }
};

Logout.propTypes = {
  onLogoutClick: PropTypes.func.isRequired
}<commit_msg>(chore) Clean up Logout component<commit_after>import React, { Component, PropTypes } from 'react';

export default class Logout extends Component {
  render() {
    const { onLogoutClick } = this.props;

    // Render the Logout link on the page, handles clicks as well
    return (
        <a href="/" onClick={() => onLogoutClick()}>
          Logout
        </a>
    );
  }
};

Logout.propTypes = {
  onLogoutClick: PropTypes.func.isRequired,
};
{'fraction_non_alphanumeric': 0.13102595797280595, 'fraction_numerical': 0.0, 'mean_word_length': 2.875598086124402, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 9, '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': '4860773', 'n_tokens_mistral': 248, 'n_tokens_neox': 250, 'n_words': 67}