Match-id-f911e73a626ee7321cb9b519b952e03f9379b569

This commit is contained in:
* 2023-04-03 14:19:01 +08:00
commit eea399171f
3 changed files with 5 additions and 2 deletions

View File

@ -1,3 +1,6 @@
## 0.0.44 (2023-04-03)
- **core**: 修复horizonX-devtool Firefox75报错
## 0.0.43 (2023-03-30)
- **core**: 解决act方法无法等待useEffect触发的更新完成问题

View File

@ -4,7 +4,7 @@
"keywords": [
"horizon"
],
"version": "0.0.43",
"version": "0.0.44",
"homepage": "",
"bugs": "",
"main": "index.js",

View File

@ -151,7 +151,7 @@ function getAffectedComponents() {
return {
name: vnode?.type
.toString()
.replace(/\{.*\}/gms, '{...}')
.replace(/\{.*\}/, '{...}')
.replace('function ', ''),
nodeId: window.__HORIZON_DEV_HOOK__.getVnodeId(vnode),
};