Add Restaurant work

This commit is contained in:
2020-08-11 21:16:27 +02:00
parent 48bb74e5f8
commit e4a4d3951d
10 changed files with 487 additions and 18 deletions

View File

@@ -1,32 +0,0 @@
import React from "react";
import ReactGA from "react-ga";
import ReactDOM from "react-dom";
import { Provider } from "react-redux";
import "./index.scss";
import App from "./App";
import * as serviceWorker from "./serviceWorker";
import rootReducer from "./reducers";
import thunk from "redux-thunk";
import { createStore, applyMiddleware, compose } from "redux";
ReactGA.initialize("G-SHB9LXPWWM");
ReactGA.pageview("/");
const store = createStore(
rootReducer,
compose(
applyMiddleware(thunk),
window.__REDUX_DEVTOOLS_EXTENSION__ && window.__REDUX_DEVTOOLS_EXTENSION__()
)
);
ReactDOM.render(
<Provider store={store}>
<App />
</Provider>,
document.getElementById("root")
);
// If you want your app to work offline and load faster, you can change
// unregister() to register() below. Note this comes with some pitfalls.
// Learn more about service workers: https://bit.ly/CRA-PWA
serviceWorker.unregister();