@assistant-ui/react 0.3.3 → 0.3.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.js +0 -2
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +0 -2
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
@@ -1276,7 +1276,6 @@ var useSmooth = (text, smooth = false) => {
|
|
1276
1276
|
new TextStreamAnimator(setDisplayedText)
|
1277
1277
|
);
|
1278
1278
|
(0, import_react35.useEffect)(() => {
|
1279
|
-
console.log("smooth", smooth);
|
1280
1279
|
if (!smooth) {
|
1281
1280
|
animatorRef.stop();
|
1282
1281
|
return;
|
@@ -1289,7 +1288,6 @@ var useSmooth = (text, smooth = false) => {
|
|
1289
1288
|
}
|
1290
1289
|
animatorRef.targetText = text;
|
1291
1290
|
animatorRef.start();
|
1292
|
-
console.log("animating");
|
1293
1291
|
}, [animatorRef, smooth, text]);
|
1294
1292
|
(0, import_react35.useEffect)(() => {
|
1295
1293
|
return () => {
|