<commit_before>import Calendar from './Calendar';
import axios from 'axios';
import React from 'react';
import Signup from './Signup';
import UserDash from './UserDash';

const Main = React.createClass({
  getInitialState() {
    return {
      events: [],
      loadErr: false
    }
  },

  componentDidMount() {
    axios.get('/events')
      .then((res) => {

        this.setState({ events: res.data.events })
      })
      .catch((err) => {
        this.setState({loadErr: err});
      })
  },

  render() {
    console.log(this.state);
    return (
      <div>
        <Calendar
          events={this.state.events}
       />
        <Signup />
        <UserDash /><commit_msg>changed a thing i guess<commit_after>import Calendar from './Calendar';
import axios from 'axios';
import React from 'react';
import Signup from './Signup';
import UserDash from './UserDash';

const Main = React.createClass({
  getInitialState() {
    return {
      events: [],
      loadErr: false
    }
  },

  componentDidMount() {
    axios.get('/events')
      .then((res) => {

        this.setState({ events: res.data.events })
      })
      .catch((err) => {
        this.setState({loadErr: err});
      })
  },

  render() {
    return (
      <div>
        <Calendar
          events={this.state.events}
       />
        <Signup />
        <UserDash />
{'fraction_non_alphanumeric': 0.15789473684210525, 'fraction_numerical': 0.0, 'mean_word_length': 2.096330275229358, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 15, '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': '2095546', 'n_tokens_mistral': 423, 'n_tokens_neox': 417, 'n_words': 93}