<commit_before>/**
 * Created by shooterbret on 2/21/2017.
 */
/**
 * Created by shooterbret on 2/14/2017.
 */
import React from 'react';
import axios from 'axios';
require('../../../styles/main.scss');
class Main extends React.Component{
    constructor(props){
        super(props);
        this.state = {text: "Loading..."}
    }
    componentDidMount(){
        axios.get('/text')
            .then((response) =>{
            console.log(response.data);
                this.setState({text:response.data});
            });
    }
    render() {
        return (
            <div>
                <h1>Hello World, welcome to page 2</h1>
                ||{this.state.text}||
            </div>
        )
    }
}

export default Main;<commit_msg>Removed Import of style<commit_after>/**
 * Created by shooterbret on 2/21/2017.
 */
/**
 * Created by shooterbret on 2/14/2017.
 */
import React from 'react';
import axios from 'axios';
//require('../../../styles/main.scss');
class Main extends React.Component{
    constructor(props){
        super(props);
        this.state = {text: "Loading..."}
    }
    componentDidMount(){
        axios.get('/text')
            .then((response) =>{
            console.log(response.data);
                this.setState({text:response.data});
            });
    }
    render() {
        return (
            <div>
                <h1>Hello World, welcome to page 2</h1>
                ||{this.state.text}||
            </div>
        )
    }
}

export default Main;
{'fraction_non_alphanumeric': 0.16334661354581673, 'fraction_numerical': 0.02257636122177955, 'mean_word_length': 1.700716845878136, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 13, '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': '7543380', 'n_tokens_mistral': 478, 'n_tokens_neox': 446, 'n_words': 98}