Fix prod build

This commit is contained in:
J Francisco Rader committed 2020-08-23 20:35:00 -03:00
1 parent 06ef944da7
commit bf2e7fa295
2 files changed
+6 -6

No files matched your search

+1 -2
View File
@@ -11,12 +11,11 @@
name="description"
content="Web site created using create-react-app"
/>
<link rel="apple-touch-icon" href="%PUBLIC_URL%/logo192.png" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="%PUBLIC_URL%/manifest.json" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
+5 -4
View File
@@ -1,23 +1,24 @@
import '@babel/polyfill';
import "@babel/polyfill";
import React from "react";
import ReactDOM from "react-dom";
import "./main.css";
import Phone from "./Phone";
import * as serviceWorker from "./serviceWorker";
import { BrowserRouter } from "react-router-dom";
import { HashRouter } from "react-router-dom";
import { RecoilRoot } from "recoil";
ReactDOM.render(
<BrowserRouter>
<HashRouter>
<RecoilRoot>
<Phone />
</RecoilRoot>
</BrowserRouter>,
</HashRouter>,
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.register();
serviceWorker.unregister();