<commit_before>'use strict';

import './styles.postcss';
import React from 'react';

class HistoryHeader extends React.Component {

  constructor(props) {
    super(props);
  }

  render() {
    return (
      <article className="l-history-header">
        <div className="wrap">
          <p className="back-to-map text text-cta" onClick={ () => this.props.onClose() }>
            <svg className="icon icon-preview">
              <use xlinkHref="#icon-preview"></use>
            </svg>
            Back to CARE's map</p>
          <svg className="icon icon-logoCARE_simple history-logo">
            <use xlinkHref="#icon-logoCARE_simple"></use>
          </svg>
          <div className="aux text text-cta">Back to CARE's map</div>
          <button
                className="btn-menu-toggle"
                onClick={ this.props.toggleMenuFn }
              >
                <svg className="icon icon-menu">
                  <use xlinkHref="#icon-menu"></use>
                </svg>
              </button>
        </div>
      </article>
    );
  }

}

export default HistoryHeader;<commit_msg>Fixes copy for link to the map<commit_after>'use strict';

import './styles.postcss';
import React from 'react';

class HistoryHeader extends React.Component {

  constructor(props) {
    super(props);
  }

  render() {
    return (
      <article className="l-history-header">
        <div className="wrap">
          <p className="back-to-map text text-cta" onClick={ () => this.props.onClose() }>
            <svg className="icon icon-preview">
              <use xlinkHref="#icon-preview"></use>
            </svg>
            Back to the map</p>
          <svg className="icon icon-logoCARE_simple history-logo">
            <use xlinkHref="#icon-logoCARE_simple"></use>
          </svg>
          <div className="aux text text-cta">Back to the map</div>
          <button
                className="btn-menu-toggle"
                onClick={ this.props.toggleMenuFn }
              >
                <svg className="icon icon-menu">
                  <use xlinkHref="#icon-menu"></use>
                </svg>
              </button>
        </div>
      </article>
    );
  }

}

export default HistoryHeader;
{'fraction_non_alphanumeric': 0.1406038756196485, 'fraction_numerical': 0.0, 'mean_word_length': 1.8352490421455938, 'pattern_counts': {'":': 0, '<': 47, '<?xml version=': 0, '>': 49, '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': '5894066', 'n_tokens_mistral': 638, 'n_tokens_neox': 622, 'n_words': 137}