ui: apply ant patch for react19
This commit is contained in:
parent
4111d6a2c7
commit
22502e7467
3 changed files with 14 additions and 0 deletions
|
|
@ -1,6 +1,7 @@
|
||||||
import './styles/index.css';
|
import './styles/index.css';
|
||||||
import './styles/global.css';
|
import './styles/global.css';
|
||||||
import React from 'react';
|
import React from 'react';
|
||||||
|
import '@ant-design/v5-patch-for-react-19';
|
||||||
import { createRoot } from 'react-dom/client';
|
import { createRoot } from 'react-dom/client';
|
||||||
import './init';
|
import './init';
|
||||||
import { HTML5Backend } from 'react-dnd-html5-backend';
|
import { HTML5Backend } from 'react-dnd-html5-backend';
|
||||||
|
|
|
||||||
|
|
@ -23,6 +23,7 @@
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ant-design/icons": "^5.2.5",
|
"@ant-design/icons": "^5.2.5",
|
||||||
|
"@ant-design/v5-patch-for-react-19": "^1.0.3",
|
||||||
"@babel/plugin-transform-private-methods": "^7.27.1",
|
"@babel/plugin-transform-private-methods": "^7.27.1",
|
||||||
"@codewonders/html2canvas": "^1.0.2",
|
"@codewonders/html2canvas": "^1.0.2",
|
||||||
"@eslint/js": "^9.26.0",
|
"@eslint/js": "^9.26.0",
|
||||||
|
|
|
||||||
|
|
@ -110,6 +110,17 @@ __metadata:
|
||||||
languageName: node
|
languageName: node
|
||||||
linkType: hard
|
linkType: hard
|
||||||
|
|
||||||
|
"@ant-design/v5-patch-for-react-19@npm:^1.0.3":
|
||||||
|
version: 1.0.3
|
||||||
|
resolution: "@ant-design/v5-patch-for-react-19@npm:1.0.3"
|
||||||
|
peerDependencies:
|
||||||
|
antd: ">=5.22.6"
|
||||||
|
react: ">=19.0.0"
|
||||||
|
react-dom: ">=19.0.0"
|
||||||
|
checksum: 10c1/68854c78dc29085858988c94cb0d67319516403bf3903a362e7006b331b46b4bdf598f0f7d27984164763aea46bb01808699990f39b3ec0969eec6e6dff75a53
|
||||||
|
languageName: node
|
||||||
|
linkType: hard
|
||||||
|
|
||||||
"@babel/cli@npm:^7.27.2":
|
"@babel/cli@npm:^7.27.2":
|
||||||
version: 7.27.2
|
version: 7.27.2
|
||||||
resolution: "@babel/cli@npm:7.27.2"
|
resolution: "@babel/cli@npm:7.27.2"
|
||||||
|
|
@ -12864,6 +12875,7 @@ __metadata:
|
||||||
resolution: "openreplay@workspace:."
|
resolution: "openreplay@workspace:."
|
||||||
dependencies:
|
dependencies:
|
||||||
"@ant-design/icons": "npm:^5.2.5"
|
"@ant-design/icons": "npm:^5.2.5"
|
||||||
|
"@ant-design/v5-patch-for-react-19": "npm:^1.0.3"
|
||||||
"@babel/cli": "npm:^7.27.2"
|
"@babel/cli": "npm:^7.27.2"
|
||||||
"@babel/core": "npm:^7.27.1"
|
"@babel/core": "npm:^7.27.1"
|
||||||
"@babel/node": "npm:^7.27.1"
|
"@babel/node": "npm:^7.27.1"
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue