<commit_before>import React from "react"
import { Provider } from "react-redux"
import { Route } from 'react-router'
import { ConnectedRouter, routerReducer } from 'react-router-redux'
import history from "./history"
import store from "./store.js"
import Layout from "./routers/Layout.jsx"
import Home from "./routers/Home.jsx"

const App = () => {
    return (
        <Provider store={store}>
            <ConnectedRouter history={history}>
                <Layout>
                    <Route exact path="/" component={Home} />
                    <Route exact path="/:greeting" component={Home} />
                </Layout>
            </ConnectedRouter>
        </Provider>
    )
};

export default App;<commit_msg>fix router issue<commit_after>import React from "react"
import { Provider } from "react-redux"
import { Route, Switch } from 'react-router'
import { ConnectedRouter, routerReducer } from 'react-router-redux'
import history from "./history"
import store from "./store.js"
import Layout from "./routers/Layout.jsx"
import Home from "./routers/Home.jsx"

const App = () => {
    return (
        <Provider store={store}>
            <ConnectedRouter history={history}>
                <Layout>
                    <Switch>
                        <Route exact path="/" component={Home} />
                        <Route exact path="/:greeting" component={Home} />
                    </Switch>
                </Layout>
            </ConnectedRouter>
        </Provider>
    )
};

export default App;
{'fraction_non_alphanumeric': 0.13060686015831136, 'fraction_numerical': 0.0, 'mean_word_length': 2.1278350515463917, 'pattern_counts': {'":': 0, '<': 21, '<?xml version=': 0, '>': 23, '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': '5063075', 'n_tokens_mistral': 411, 'n_tokens_neox': 397, 'n_words': 114}