@assistant-ui/react 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- 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.mjs
CHANGED
@@ -1217,7 +1217,6 @@ var useSmooth = (text, smooth = false) => {
|
|
1217
1217
|
new TextStreamAnimator(setDisplayedText)
|
1218
1218
|
);
|
1219
1219
|
useEffect8(() => {
|
1220
|
-
console.log("smooth", smooth);
|
1221
1220
|
if (!smooth) {
|
1222
1221
|
animatorRef.stop();
|
1223
1222
|
return;
|
@@ -1230,7 +1229,6 @@ var useSmooth = (text, smooth = false) => {
|
|
1230
1229
|
}
|
1231
1230
|
animatorRef.targetText = text;
|
1232
1231
|
animatorRef.start();
|
1233
|
-
console.log("animating");
|
1234
1232
|
}, [animatorRef, smooth, text]);
|
1235
1233
|
useEffect8(() => {
|
1236
1234
|
return () => {
|