mirror of
https://github.com/arc53/DocsGPT
synced 2024-11-17 21:26:26 +00:00
added autofocus for user chat input
This commit is contained in:
parent
e48df87e06
commit
f835b14902
@ -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");
|
||||
}
|
||||
}, []);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user