mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
Revert "Add delay on submitting from welcome view"
This reverts commit 602c6efbd8.
This commit is contained in:
parent
c4465dee8a
commit
2dcde02839
1 changed files with 1 additions and 7 deletions
|
|
@ -10,13 +10,7 @@ const WelcomeView = () => {
|
|||
|
||||
const [errorMessage, setErrorMessage] = useState<string | undefined>(undefined)
|
||||
|
||||
const handleSubmit = async () => {
|
||||
// Focus the active element's parent to trigger blur
|
||||
document.activeElement?.parentElement?.focus()
|
||||
|
||||
// Small delay to let blur events complete
|
||||
await new Promise((resolve) => setTimeout(resolve, 50))
|
||||
|
||||
const handleSubmit = () => {
|
||||
const error = validateApiConfiguration(apiConfiguration)
|
||||
if (error) {
|
||||
setErrorMessage(error)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue