<commit_before>import React from 'react';
import ReactDOM from 'react-dom';
import { BrowserRouter, Route } from 'react-router-dom';
import { library } from '@fortawesome/fontawesome-svg-core';
import {
    faBars,
    faBug,
    faChevronDown,
    faCode,
    faChevronUp,
    faFile,
    faGraduationCap,
    faInfoCircle,
    faSpinner,
} from '@fortawesome/free-solid-svg-icons';
import { faCopyright, faFrownOpen } from '@fortawesome/free-regular-svg-icons';
import {
    faAngular,
    faApple,
    faCss3,
    faFacebookSquare,
    faGithubSquare,
    faGooglePlusSquare,
    faGrunt,
    faGulp,
    faHtml5,
    faJava,
    faJs,
    faLinkedin,
    faLinux,
    faNodeJs,
    faPhp,
    faReact,
    faSass,
    faWindows,
} from '@fortawesome/free-brands-svg-icons';

import App from './layout/App';

const rootElement = document.getElementById('app-root');

library.add(
    faAngular,
    faApple,
    faBars,
    faBug,
    faChevronDown,
    faChevronUp,
    faCode,
    faCopyright,
    faCss3,
    faFacebookSquare,
    faFile,
    faFrownOpen,
    faGithubSquare,
    faGooglePlusSquare,
    faGraduationCap,
    faGrunt,
    faGulp,
    faHtml5,
    faInfoCircle,
    faJava,
    faJs,
    faLinkedin,
    faLinux,
    faNodeJs,
    faPhp,
    faReact,
    faSass,
    faSpinner,
    faWindows,
);

ReactDOM.render(
    <BrowserRouter>
        <Route component={App} />
    </BrowserRouter>
, rootElement);<commit_msg>Use HashRouter instead of BrowserRouter since Github does not support wildcard rendering<commit_after>import React from 'react';
import ReactDOM from 'react-dom';
import { HashRouter, Route } from 'react-router-dom';
import { library } from '@fortawesome/fontawesome-svg-core';
import {
    faBars,
    faBug,
    faChevronDown,
    faCode,
    faChevronUp,
    faFile,
    faGraduationCap,
    faInfoCircle,
    faSpinner,
} from '@fortawesome/free-solid-svg-icons';
import { faCopyright, faFrownOpen } from '@fortawesome/free-regular-svg-icons';
import {
    faAngular,
    faApple,
    faCss3,
    faFacebookSquare,
    faGithubSquare,
    faGooglePlusSquare,
    faGrunt,
    faGulp,
    faHtml5,
    faJava,
    faJs,
    faLinkedin,
    faLinux,
    faNodeJs,
    faPhp,
    faReact,
    faSass,
    faWindows,
} from '@fortawesome/free-brands-svg-icons';

import App from './layout/App';

const rootElement = document.getElementById('app-root');

library.add(
    faAngular,
    faApple,
    faBars,
    faBug,
    faChevronDown,
    faChevronUp,
    faCode,
    faCopyright,
    faCss3,
    faFacebookSquare,
    faFile,
    faFrownOpen,
    faGithubSquare,
    faGooglePlusSquare,
    faGraduationCap,
    faGrunt,
    faGulp,
    faHtml5,
    faInfoCircle,
    faJava,
    faJs,
    faLinkedin,
    faLinux,
    faNodeJs,
    faPhp,
    faReact,
    faSass,
    faSpinner,
    faWindows,
);

ReactDOM.render(
    <HashRouter>
        <Route component={App} />
    </HashRouter>
, rootElement);
{'fraction_non_alphanumeric': 0.10068027210884353, 'fraction_numerical': 0.0027210884353741495, 'mean_word_length': 2.7899484536082473, 'pattern_counts': {'":': 0, '<': 9, '<?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': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '1145373', 'n_tokens_mistral': 1094, 'n_tokens_neox': 1081, 'n_words': 206}