@flytedan/flytebot-design-system 0.1.2 → 0.1.4
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/index.cjs +5 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/styles/fonts/figtree-latin.woff2 +0 -0
package/dist/index.cjs
CHANGED
|
@@ -7837,8 +7837,11 @@ function useChatEngine(opts) {
|
|
|
7837
7837
|
const serverCount = React33.useRef(0);
|
|
7838
7838
|
const threadRef = React33.useRef(null);
|
|
7839
7839
|
const mounted = React33.useRef(true);
|
|
7840
|
-
React33.useEffect(() =>
|
|
7841
|
-
mounted.current =
|
|
7840
|
+
React33.useEffect(() => {
|
|
7841
|
+
mounted.current = true;
|
|
7842
|
+
return () => {
|
|
7843
|
+
mounted.current = false;
|
|
7844
|
+
};
|
|
7842
7845
|
}, []);
|
|
7843
7846
|
const commit = (next) => {
|
|
7844
7847
|
listRef.current = next;
|