mirror of
https://github.com/apricote/Listory.git
synced 2026-02-06 17:57:03 +00:00
chore(deps): update react monorepo to v18
This commit is contained in:
parent
ca09d6b49e
commit
8e0b38b9b3
6 changed files with 1382 additions and 6032 deletions
|
|
@ -1,12 +1,14 @@
|
|||
import React from "react";
|
||||
import ReactDOM from "react-dom";
|
||||
import { BrowserRouter } from "react-router-dom";
|
||||
import { createRoot } from "react-dom/client";
|
||||
import { App } from "./App";
|
||||
import { ProvideApiClient } from "./hooks/use-api-client";
|
||||
import { ProvideAuth } from "./hooks/use-auth";
|
||||
import * as serviceWorker from "./serviceWorker";
|
||||
|
||||
ReactDOM.render(
|
||||
const root = createRoot(document.getElementById("root")!);
|
||||
|
||||
root.render(
|
||||
<React.StrictMode>
|
||||
<ProvideAuth>
|
||||
<ProvideApiClient>
|
||||
|
|
@ -15,8 +17,7 @@ ReactDOM.render(
|
|||
</BrowserRouter>
|
||||
</ProvideApiClient>
|
||||
</ProvideAuth>
|
||||
</React.StrictMode>,
|
||||
document.getElementById("root")
|
||||
</React.StrictMode>
|
||||
);
|
||||
|
||||
serviceWorker.unregister();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue