added autofocus for user chat input

This commit is contained in:
hariraghav10 committed 2023-10-10 17:22:10 +05:30
1 parent e48df87e06
commit f835b14902
1 file changed
-3
@@ -33,9 +33,6 @@ export default function Conversation() {
const element = document.getElementById('inputbox') as HTMLInputElement;
if (element) {
element.focus();
console.log("Element with ID 'inputbox' found");
} else {
console.log("Element with ID 'inputbox' not found");
}
}, []);