debugp
parent
7749248e5f
commit
ebe38c317d
|
@ -3,12 +3,16 @@ import ReactDOM from "react-dom/client";
|
|||
import { createBrowserHistory } from "history";
|
||||
import { App } from "./App";
|
||||
|
||||
const renderResistants = () =>
|
||||
console.log("Starting app");
|
||||
|
||||
const renderResistants = () => {
|
||||
console.log("Rendering app");
|
||||
ReactDOM.createRoot(document.getElementById("root") as HTMLElement).render(
|
||||
<React.StrictMode>
|
||||
<App />
|
||||
</React.StrictMode>
|
||||
);
|
||||
};
|
||||
|
||||
const browserHistory = createBrowserHistory();
|
||||
browserHistory.listen(() => {
|
||||
|
@ -17,3 +21,5 @@ browserHistory.listen(() => {
|
|||
});
|
||||
|
||||
renderResistants();
|
||||
|
||||
console.log("done");
|
||||
|
|
Loading…
Reference in New Issue