Skip to content

Commit

Permalink
fix: remove console log (#414)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Jul 7, 2024
1 parent 07a3a42 commit 6f776ee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"conversational-ui",
"conversational-ai"
],
"version": "0.3.3",
"version": "0.3.4",
"license": "MIT",
"exports": {
".": {
Expand Down
2 changes: 0 additions & 2 deletions packages/react/src/utils/hooks/useSmooth.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,6 @@ export const useSmooth = (text: string, smooth: boolean = false) => {
);

useEffect(() => {
console.log("smooth", smooth);
if (!smooth) {
animatorRef.stop();
return;
Expand All @@ -80,7 +79,6 @@ export const useSmooth = (text: string, smooth: boolean = false) => {

animatorRef.targetText = text;
animatorRef.start();
console.log("animating");
}, [animatorRef, smooth, text]);

useEffect(() => {
Expand Down

0 comments on commit 6f776ee

Please sign in to comment.