<commit_before>import React, { Component } from 'react'
import {BrowserRouter as Router, Route, Link} from 'react-router-dom'
import Auth from './Auth'
import Dashboard from './Dashboard'
import Data from './Data'
import Home from './Home'
import LanguageBar from './shared/LanguageBar'
import Footer from './shared/Footer'
import Styles from './Styles'
import Transfer from './Transfer'

export default class App extends Component {
  render (){
    return (
      <Router>
        <Styles>
          <Data>
            {(props) => (
              <div>
                <LanguageBar>English</LanguageBar>
                <Auth user={props.user}>
                  <div>
                    <Route exact path="/" render={() => (
                      <Home {...props}/>
                    )}/>
                    <Route exact path="/transfer/:amount/to/:to" render={(routeProps) => (
                      <Transfer {...routeProps} {...props}/>
                    )}/>
                    <Route exact path="/dashboard" component={Dashboard}/>
                  </div>
                </Auth>
                <Footer/>
              </div>
            )}
          </Data>
        </Styles>
      </Router>
    )
  }
}<commit_msg>Remove render of header and footer on dashboard<commit_after>import React, { Component } from 'react'
import {BrowserRouter as Router, Route, Link} from 'react-router-dom'
import Auth from './Auth'
import Dashboard from './Dashboard'
import Data from './Data'
import Home from './Home'
import LanguageBar from './shared/LanguageBar'
import Footer from './shared/Footer'
import Styles from './Styles'
import Transfer from './Transfer'

export default class App extends Component {
  render (){
    return (
      <Router>
        <Styles>
          <Data>
            {(props) => (
              <div>
                <Route exact path="/dashboard" component={Dashboard}/>
                <Route exact path="(/|/transfer.*)" render={() => (
                  <div>
                    <LanguageBar>English</LanguageBar>
                    <Auth user={props.user}>
                      <div>
                        <Route exact path="/" render={() => (
                          <Home {...props}/>
                        )}/>
                        <Route exact path="/transfer/:amount/to/:to"  render={(routeProps) => (
                          <Transfer {...routeProps} {...props}/>
                        )}/>
                      </div>
                    </Auth>
                    <Footer/>
                  </div>
                )}/>
              </div>
            )}
          </Data>
        </Styles>
      </Router>
    )
  }
}
{'fraction_non_alphanumeric': 0.14125978382407753, 'fraction_numerical': 0.0, 'mean_word_length': 1.3318853171155518, 'pattern_counts': {'":': 0, '<': 46, '<?xml version=': 0, '>': 53, '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': '3283343', 'n_tokens_mistral': 692, 'n_tokens_neox': 670, 'n_words': 185}