Skip to content

Commit

Permalink
use react 18
Browse files Browse the repository at this point in the history
  • Loading branch information
Fisico committed Dec 26, 2023
1 parent 56cd449 commit 490e20a
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions src/index.js
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import React from "react";
import ReactDOM from "react-dom";
//import ReactDOM from "react-dom";
import { createRoot } from 'react-dom/client'
import App from "./App";

ReactDOM.render(
const root = createRoot(document.getElementById("root"))
root.render(
<React.StrictMode>
<App />
</React.StrictMode>,
document.getElementById("root")
</React.StrictMode>
);

0 comments on commit 490e20a

Please sign in to comment.