mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-14 00:16:20 +00:00
added autofocus for user chat input
This commit is contained in:
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");
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
||||
Reference in new issue
Block a user