Skip to content

Commit

Permalink
Merge pull request #1 from john-okeefe/john-okeefe-react-18
Browse files Browse the repository at this point in the history
converted main.tsx to support React 18
  • Loading branch information
john-okeefe authored May 6, 2022
2 parents 6bea079 + 45827ba commit 1966d5b
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions src/main.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
import React from "react";
import ReactDOM from "react-dom";
import { createRoot } from "react-dom/client";
import "./index.css";
import App from "app/app";

ReactDOM.render(
const root = createRoot(document.getElementById("root"));

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

0 comments on commit 1966d5b

Please sign in to comment.