mirror of
https://github.com/arc53/DocsGPT.git
synced 2025-11-29 08:33:20 +00:00
added autofocus for user chat input
This commit is contained in:
@@ -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