Skip to content

Commit

Permalink
feat: hide suggestions if thread is running (#949)
Browse files Browse the repository at this point in the history
  • Loading branch information
Yonom authored Oct 4, 2024
1 parent eb9bfed commit b5894da
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/react/src/ui/thread.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ const ThreadFollowupSuggestions: FC = () => {
const suggestions = useThread((t) => t.suggestions);

return (
<ThreadPrimitive.If empty={false}>
<ThreadPrimitive.If empty={false} running={false}>
<div className="aui-thread-followup-suggestions">
{suggestions?.map((suggestion, idx) => (
<ThreadPrimitive.Suggestion
Expand Down

0 comments on commit b5894da

Please sign in to comment.