(feat/widget): autofocus input

This commit is contained in:
ManishMadan2882
2024-11-20 17:11:33 +05:30
parent a6bface632
commit e9a8161811

View File

@@ -769,6 +769,7 @@ export const WidgetCore = ({
<PromptContainer
onSubmit={handleSubmit}>
<StyledInput
autoFocus
value={prompt} onChange={(event) => setPrompt(event.target.value)}
type='text' placeholder="Ask your question" />
<StyledButton