moved log to only print on change, and changed error logs to warnings

This commit is contained in:
Anirban Kar
2024-12-10 23:02:54 +05:30
parent 7d84a61801
commit af09104c82
2 changed files with 5 additions and 3 deletions

View File

@@ -147,7 +147,9 @@ export const BaseChat = React.forwardRef<HTMLDivElement, BaseChatProps>(
return () => clearInterval(interval);
}, [PROVIDER_LIST]);
console.log(transcript);
useEffect(() => {
console.log(transcript);
},[transcript])
useEffect(() => {
// Load API keys from cookies on component mount
try {