<commit_before>import React from "react";
import Helmet from "react-helmet";
import "font-awesome/scss/font-awesome.scss";
import "prismjs"
import "prismjs/components/prism-bash";
import "prismjs/themes/prism.css"

import Navigation from "../components/Navigation/Navigation";
import config from "../../data/SiteConfig";
import "./index.scss";
import "./global.scss";
import "./prism-verve";

export default class MainLayout extends React.Component {
  render() {
    const { children } = this.props;
    return (
      <Navigation config={config}>
        <div>
          <Helmet>
            <meta name="description" content={config.siteDescription} />
          </Helmet>
          {children()}
        </div>
      </Navigation>
    );
  }
}<commit_msg>Refresh Prism highlight on compDidUpdate<commit_after>import React from "react";
import Helmet from "react-helmet";
import "font-awesome/scss/font-awesome.scss";
import "prismjs"
import "prismjs/components/prism-bash";
import "prismjs/themes/prism.css"

import Navigation from "../components/Navigation/Navigation";
import config from "../../data/SiteConfig";
import "./index.scss";
import "./global.scss";
import "./prism-verve";

export default class MainLayout extends React.Component {
  componentDidUpdate() {
    Prism.highlightAll();
  }

  render() {
    const { children } = this.props;
    return (
      <Navigation config={config}>
        <div>
          <Helmet>
            <meta name="description" content={config.siteDescription} />
          </Helmet>
          {children()}
        </div>
      </Navigation>
    );
  }
}
{'fraction_non_alphanumeric': 0.14777708202880402, 'fraction_numerical': 0.0, 'mean_word_length': 3.025188916876574, 'pattern_counts': {'":': 0, '<': 17, '<?xml version=': 0, '>': 17, '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': '7111342', 'n_tokens_mistral': 478, 'n_tokens_neox': 471, 'n_words': 110}