<commit_before>import '!style-loader!css-loader!sass-loader!./styles/theme.scss';
import React from 'react';
import { render } from 'react-dom';
import Routes from './core/routes';
import { Provider } from 'react-redux';

import store from 'store';
// import { App } from 'components';
import {fetchCategories, fetchSession} from 'store/actions';

import 'index.html';

fetchSession().then(startApp).catch(startApp);
fetchCategories();

function startApp() {
  render((
    <Provider store={store}>
      <Routes />
    </Provider>
  ), document.getElementById('root'));
}<commit_msg>no rightclicks<commit_after>import '!style-loader!css-loader!sass-loader!./styles/theme.scss';
import React from 'react';
import { render } from 'react-dom';
import Routes from './core/routes';
import { Provider } from 'react-redux';

import store from 'store';
// import { App } from 'components';
import {fetchCategories, fetchSession} from 'store/actions';

import 'index.html';

fetchSession().then(startApp).catch(startApp);
fetchCategories();

document.addEventListener('contextmenu', event => event.preventDefault());

function startApp() {
  render((
    <Provider store={store}>
      <Routes />
    </Provider>
  ), document.getElementById('root'));
}
{'fraction_non_alphanumeric': 0.16546184738955824, 'fraction_numerical': 0.0, 'mean_word_length': 5.199004975124378, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 10, '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': '5059514', 'n_tokens_mistral': 371, 'n_tokens_neox': 366, 'n_words': 90}