Skip to content

Commit

Permalink
chore(deps): update react monorepo to v18 (major) #40
Browse files Browse the repository at this point in the history
  • Loading branch information
jaywcjlove committed Apr 7, 2023
1 parent 61f5650 commit 89193eb
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@
"@kkt/less-modules": "^7.4.9",
"@kkt/raw-modules": "^7.4.9",
"@kkt/scope-plugin-options": "^7.4.9",
"@types/react": "~17.0.39",
"@types/react-dom": "~17.0.13",
"@types/react": "^18.0.33",
"@types/react-dom": "^18.0.11",
"@uiw/react-github-corners": "~1.5.3",
"@uiw/react-markdown-preview": "~3.5.1",
"react": "~17.0.2",
"react-dom": "~17.0.2",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"kkt": "^7.4.9",
"tsbb": "^4.1.4"
},
Expand Down
6 changes: 4 additions & 2 deletions website/index.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
import React from 'react';
import ReactDOM from 'react-dom';
import * as ReactDOMClient from 'react-dom/client';
import App from './App';

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

0 comments on commit 89193eb

Please sign in to comment.