mirror of
https://github.com/darksaid98/new-phone-who-dis.git
synced 2026-12-03 14:38:45 +00:00
Fix prod build
This commit is contained in:
1 parent
06ef944da7
commit
bf2e7fa295
2 files changed
+6
-6
No files matched your search
@@ -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
@@ -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();
|
||||
Reference in new issue
Block a user