Skip to content

Commit

Permalink
Upgrade to React 18 render context
Browse files Browse the repository at this point in the history
  • Loading branch information
VijoPlays committed Apr 16, 2024
1 parent 7e190a6 commit e68d513
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"homepage": "https://vijoplays.github.io/profile",
"name": "vijoplays.github.io",
"version": "0.1.0",
"version": "1.0.0",
"private": false,
"dependencies": {
"@babel/preset-typescript": "^7.24.1",
Expand Down
10 changes: 6 additions & 4 deletions src/index.tsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
import "./index.css";
import './index.css';

import ReactDOM from "react-dom";
import { createRoot } from 'react-dom/client';

import App from "./App";
import App from './App';

ReactDOM.render(<App />, document.getElementById("root"));
const container = document.getElementById('root');
const root = createRoot(container!);
root.render(<App />);

export * from "./App";
export * from "./Customization";
Expand Down

0 comments on commit e68d513

Please sign in to comment.