@ant-design/agentic-ui 2.27.8 → 2.27.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/Bubble/schema-editor/useRefState.js +1 -1
- package/dist/Components/effects/CreativeRecommendationEffect/creativeRecommendation.json +485 -540
- package/dist/Components/lotties/CreativeSparkLottie/creativeSpark.json +4246 -5558
- package/dist/Components/lotties/LoadingLottie/loading.json +3072 -4020
- package/dist/Plugins/code/components/ThinkBlock.js +8 -2
- package/dist/Plugins/mermaid/MermaidRendererImpl.js +1 -1
- package/dist/TaskList/index.js +1 -1
- package/package.json +1 -1
|
@@ -44,7 +44,7 @@ function _unsupported_iterable_to_array(o, minLen) {
|
|
|
44
44
|
if (n === "Map" || n === "Set") return Array.from(n);
|
|
45
45
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
|
|
46
46
|
}
|
|
47
|
-
import {
|
|
47
|
+
import { useCallback, useRef, useState } from "react";
|
|
48
48
|
/**
|
|
49
49
|
* useRefState - 同时维护 state 和 ref 的 hook
|
|
50
50
|
* @description 解决 setState 后立即读取 ref 得到旧值的问题
|