<commit_before>'use strict'
import 'babel/polyfill';
import React from 'react';
import Router from 'react-router';

import App from './components/app';
import UserHome from './components/user-home';
import SignIn from './components/sign-in';
import Error from './components/error';

var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var Route = Router.Route;
var Redirect = Router.Redirect;
var RouteHandler = Router.RouteHandler;

var routes = (
  <Route name="app" path="/" handler={App}>
    <Route name="user-home" path="/home" handler={UserHome}/>
    <Route name="error" path="/error" handler={Error}/>
    <DefaultRoute handler={SignIn}/>
  </Route>
);

module.exports = routes;<commit_msg>fixing bug on sending to user-home route<commit_after>'use strict'
import 'babel/polyfill';
import React from 'react';
import Router from 'react-router';

import App from './components/app';
import UserHome from './components/user-home';
import SignIn from './components/sign-in';
import Error from './components/error';

var DefaultRoute = Router.DefaultRoute;
var Link = Router.Link;
var Route = Router.Route;
var Redirect = Router.Redirect;
var RouteHandler = Router.RouteHandler;

var routes = (
  <Route name="app" path="/" handler={App}>
    <Route name="user-home" path="/user-home" handler={UserHome}/>
    <Route name="error" path="/error" handler={Error}/>
    <DefaultRoute handler={SignIn}/>
  </Route>
);

module.exports = routes;
{'fraction_non_alphanumeric': 0.15543328748280605, 'fraction_numerical': 0.0, 'mean_word_length': 4.843373493975903, 'pattern_counts': {'":': 0, '<': 13, '<?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': '5732223', 'n_tokens_mistral': 442, 'n_tokens_neox': 438, 'n_words': 129}