diff --git a/package.json b/package.json
index ea913842..cb4f7ed4 100644
--- a/package.json
+++ b/package.json
@@ -35,20 +35,20 @@
"react-dom": ">=16.8.0"
},
"devDependencies": {
- "@kkt/less-modules": "~7.1.1",
- "@kkt/ncc": "~1.0.9",
- "@kkt/raw-modules": "~7.1.1",
- "@kkt/scope-plugin-options": "~7.1.1",
- "@types/react": "~17.0.39",
- "@types/react-dom": "~17.0.11",
+ "@kkt/less-modules": "^7.4.9",
+ "@kkt/ncc": "~1.0.15",
+ "@kkt/raw-modules": "^7.4.9",
+ "@kkt/scope-plugin-options": "^7.4.9",
+ "@types/react": "^18.0.33",
+ "@types/react-dom": "^18.0.11",
"@uiw/react-markdown-preview": "~3.5.0",
- "@uiw/react-github-corners": "~1.5.3",
- "@uiw/react-shields": "~1.1.2",
- "@uiw/reset.css": "~1.0.5",
- "compile-less-cli": "~1.8.11",
- "react": "~17.0.2",
- "react-dom": "~17.0.2",
- "kkt": "~7.1.5",
+ "@uiw/react-github-corners": "^1.5.15",
+ "@uiw/react-shields": "^1.1.3",
+ "@uiw/reset.css": "^1.0.6",
+ "compile-less-cli": "^1.8.14",
+ "react": "^18.2.0",
+ "react-dom": "^18.2.0",
+ "kkt": "^7.4.9",
"tsbb": "~3.7.0"
},
"eslintConfig": {
diff --git a/website/index.tsx b/website/index.tsx
index a85fee21..5634d410 100644
--- a/website/index.tsx
+++ b/website/index.tsx
@@ -1,5 +1,6 @@
-import React from 'react';
-import ReactDOM from 'react-dom';
+import * as ReactDOMClient from 'react-dom/client';
import App from './App'
-ReactDOM.render(, document.getElementById('root'));
\ No newline at end of file
+const container = document.getElementById('root');
+const root = ReactDOMClient.createRoot(container!);
+root.render();