Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 725ed1a

Browse files
Merge branch 'assistant_autofocus' into 'master'
Assistant: Fixed text field autofocus See merge request postgres-ai/database-lab!918
2 parents 8427b87 + 870bff9 commit 725ed1a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎ui/packages/platform/src/pages/Bot/Command/Command.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ export const Command = React.memo((props: Props) => {
194194
if (!inputRef.current) return
195195
if (window.innerWidth > theme.breakpoints.values.md) inputRef.current.focus()
196196
if (!location.state?.skipReloading) setValue('')
197-
}, [threadId]);
197+
}, [threadId,loading]);
198198

199199
return (
200200
<div className={classes.root}>

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /