Files
new-phone-who-dis/phone/src/index.tsx
T

29 lines
912 B
TypeScript

import "@babel/polyfill";
import React from "react";
import ReactDOM from "react-dom";
import { HashRouter } from "react-router-dom";
import { RecoilRoot } from "recoil";
import "./main.css";
import Phone from "./Phone";
import * as serviceWorker from "./serviceWorker";
import TwitterNotification from "./apps/twitter/components/notification/TwitterNotification";
import { BankNotification } from "./apps/bank/components/notification/BankNotification";
ReactDOM.render(
<HashRouter>
<RecoilRoot>
<TwitterNotification />
<BankNotification />
<Phone />
</RecoilRoot>
</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();