<commit_before>import React from 'react'
import Header from './header'
import Footer from './footer';

const PageComponent = ({children, appUrl}) => {
  return (
    <div id="wrapper" className="pure-g">
      <div id="sideButtons">
        <ul>
          <li id="scrollUp">
            <a href="javascript:self.scrollTo(0,0);"></a>
          </li>
          <li id="toggleShariff">
            <a id="toggleShariffLink" href="#"></a>
            <ShareButtons />
          </li>
          <li id="scrollDown">
            <a href="javascript:self.scrollTo(0,document.body.scrollHeight);"></a>
          </li>
        </ul>
      </div>
      <Header appUrl={appUrl} />
      {children}
      <Footer appUrl={appUrl} />
    </div>
  )
};

export default PageComponent;

class ShareButtons extends React.Component {
    shouldComponentUpdate() {
        return false; // we want shariff to control this component, so dont react to updates ;) (fingers crossed)
    }
    render() {
        return (
          <div className="shariff pure-u-1"
          data-services="twitter, facebook, googleplus, info"
          data-twitter-via="cosmowiki"
          />
      );
    }
}<commit_msg>removed the shareButtons from the page.js<commit_after>import React from 'react'
import Header from './header'
import Footer from './footer';

const PageComponent = ({children, appUrl}) => {
  return (
    <div id="wrapper" className="pure-g">
      <div id="sideButtons">
        <ul>
          <li id="scrollUp">
            <a href="javascript:self.scrollTo(0,0);"></a>
          </li>
          <li id="scrollDown">
            <a href="javascript:self.scrollTo(0,document.body.scrollHeight);"></a>
          </li>
        </ul>
      </div>
      <Header appUrl={appUrl} />
      {children}
      <Footer appUrl={appUrl} />
    </div>
  )
};

export default PageComponent;
{'fraction_non_alphanumeric': 0.15698924731182795, 'fraction_numerical': 0.003763440860215054, 'mean_word_length': 2.2197231833910034, 'pattern_counts': {'":': 0, '<': 41, '<?xml version=': 0, '>': 43, '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': '5653631', 'n_tokens_mistral': 568, 'n_tokens_neox': 567, 'n_words': 131}