<commit_before>import "./Header.css";

import { Link } from "react-router-dom";
import React from "react";

/**
 * A simple header with a label that links to "/"
 *
 * @export
 * @param {string} label - label to be displayed on the header
 * @return {object} - Header
 */
const Header = ({ label, children }) => (
  <div className="Header">
    <Link className="Header__Label" to="/"> {label} </Link>
  </div>);

export default Header;<commit_msg>fix(Header): Fix header link issues on github pages<commit_after>import "./Header.css";

import { Link } from "react-router-dom";
import React from "react";

/**
 * A simple header with a label that links to "/"
 *
 * @export
 * @param {string} label - label to be displayed on the header
 * @return {object} - Header
 */
const Header = ({ label, children }) => (
  <div className="Header">
    <Link className="Header__Label" to={`${process.env.PUBLIC_URL}/`}> {label} </Link>
  </div>);

export default Header;
{'fraction_non_alphanumeric': 0.16684045881126172, 'fraction_numerical': 0.0, 'mean_word_length': 3.8484848484848486, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '3471251', 'n_tokens_mistral': 293, 'n_tokens_neox': 289, 'n_words': 102}