Skip to content

Commit 725ed1a

Browse files
author
Bogdan Tsechoev
committed
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

+1-1
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)