<commit_before>import React from "react"; // eslint-disable-line

import { IntlProvider, addLocaleData } from "react-intl";
import en from "react-intl/locale-data/en";
import fr from "react-intl/locale-data/fr";
import es from "react-intl/locale-data/es";
import Layout from "./Layout";
import authService from "./utils/AuthService";
import { getFirstBrowserLanguage, getBestMatchingMessages } from "./utils/l10n";
import { BrowserRouter } from "react-router-dom";
import history from "./utils/history";
Raven.config(
  "https://0189b4df0dd54b6fa22f6202b7fb6c11@sentry.io/180779"
).install();

addLocaleData([...en, ...fr, ...es]);

export default class App extends React.Component {
  render() {
    let locale = getFirstBrowserLanguage();
    let messages = getBestMatchingMessages(locale);
    return (
      <IntlProvider locale={locale} messages={messages}>
        <BrowserRouter history={history}>
          <Layout history={history} auth={authService} />
        </BrowserRouter>
      </IntlProvider>
    );
  }
}
<commit_msg>just in case.<commit_after>import React from "react"; // eslint-disable-line

import { IntlProvider, addLocaleData } from "react-intl";
import en from "react-intl/locale-data/en";
import fr from "react-intl/locale-data/fr";
import es from "react-intl/locale-data/es";
import Layout from "./Layout";
import authService from "./utils/AuthService";
import { getFirstBrowserLanguage, getBestMatchingMessages } from "./utils/l10n";
import { BrowserRouter } from "react-router-dom";
import history from "./utils/history";
try {
  Raven.config(
    "https://0189b4df0dd54b6fa22f6202b7fb6c11@sentry.io/180779"
  ).install();
} catch (e) {
  console.log("Got exception starting Raven", e);
}

addLocaleData([...en, ...fr, ...es]);

export default class App extends React.Component {
  render() {
    let locale = getFirstBrowserLanguage();
    let messages = getBestMatchingMessages(locale);
    return (
      <IntlProvider locale={locale} messages={messages}>
        <BrowserRouter history={history}>
          <Layout history={history} auth={authService} />
        </BrowserRouter>
      </IntlProvider>
    );
  }
}

{'fraction_non_alphanumeric': 0.14432029795158285, 'fraction_numerical': 0.025139664804469275, 'mean_word_length': 4.032786885245901, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 2, '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': '1937601', 'n_tokens_mistral': 684, 'n_tokens_neox': 655, 'n_words': 156}