<commit_before>import React from "react";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
import { createStore, applyMiddleware } from "redux";
import { BrowserRouter, Route, Switch } from "react-router-dom";
import thunk from "redux-thunk";
import reducers from "./reducers";

import PlaceOrders from "./components/order_view";

import BusinessLoginView from "./components/business_login_view";
import BusinessRegistrationView from "./components/businessRegistrationView";
import BusinessFinderSearch from "./components/business_finder_search"
import BusinessSetupView from "./components/businessSetupView";
import BusinessHomePageView from "./components/businessHomePageView";
import PurchaseView from "./components/purchaseView";
import PurchaseSuccess from "./components/purchaseSuccess";
import ReduxPromise from 'redux-promise'

const createStoreWithMiddleware = applyMiddleware(thunk,ReduxPromise)(createStore);

ReactDOM.render(
  <Provider store={createStoreWithMiddleware(reducers)}>
    <BrowserRouter>
      <div>
        <Switch>
          <Route path="/businessLogin" component={BusinessLoginView} />
          <Route path="/businessRegistration" component={BusinessRegistrationView} />
          <Route path="/placeOrder/:id" component={PlaceOrders} />
          <Route path="/businessSetup/:id" component={BusinessSetupView} />
          <Route path="/businessHomePageView/:id" component={BusinessHomePageView} />
          <Route path="/purchase/:id" component={PurchaseView} />
          <Route path="/purchaseSuccess" component={PurchaseSuccess} />
          <Route path="/" component={BusinessFinderSearch} />
        </Switch>
      </div>
    </BrowserRouter>
  </Provider>,
  document.querySelector(".container")
);<commit_msg>Heroku deployment<commit_after>import React from "react";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
import { createStore, applyMiddleware } from "redux";
import { BrowserRouter, Route, Switch } from "react-router-dom";
import thunk from "redux-thunk";
import reducers from "./reducers";

import PlaceOrders from "./components/order_view";

import BusinessLoginView from "./components/business_login_view";
import BusinessRegistrationView from "./components/businessRegistrationView";
import BusinessFinderSearch from "./components/business_finder_search"
import BusinessSetupView from "./components/businessSetupView";
import BusinessHomePageView from "./components/businessHomePageView";
import PurchaseView from "./components/purchaseView";
import PurchaseSuccess from "./components/purchaseSuccess";
import ReduxPromise from 'redux-promise'
 
const createStoreWithMiddleware = applyMiddleware(thunk,ReduxPromise)(createStore);

ReactDOM.render(
  <Provider store={createStoreWithMiddleware(reducers)}>
    <BrowserRouter>
      <div>
        <Switch>
          <Route path="/businessLogin" component={BusinessLoginView} />
          <Route path="/businessRegistration" component={BusinessRegistrationView} />
          <Route path="/placeOrder/:id" component={PlaceOrders} />
          <Route path="/businessSetup/:id" component={BusinessSetupView} />
          <Route path="/businessHomePageView/:id" component={BusinessHomePageView} />
          <Route path="/purchase/:id" component={PurchaseView} />
          <Route path="/purchaseSuccess" component={PurchaseSuccess} />
          <Route path="/" component={BusinessFinderSearch} />
        </Switch>
      </div>
    </BrowserRouter>
  </Provider>,
  document.querySelector(".container")
);
{'fraction_non_alphanumeric': 0.12426201855496205, 'fraction_numerical': 0.0, 'mean_word_length': 4.804241435562806, 'pattern_counts': {'":': 0, '<': 35, '<?xml version=': 0, '>': 35, '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': '6147204', 'n_tokens_mistral': 906, 'n_tokens_neox': 906, 'n_words': 211}