File tree Expand file tree Collapse file tree 2 files changed +2
-1
lines changed
Expand file tree Collapse file tree 2 files changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ const InlineToaster: React.FC = () => {
140140 { getIconForIntent ( toast . intent ) }
141141 </ span >
142142 < Body1 > { toast . content } </ Body1 >
143- { toast . dismissible && (
143+ { ( toast . dismissible || toast . intent === "progress" ) && (
144144 < button
145145 onClick = { ( ) => _setToasts ?.( ( prev ) => prev . filter ( ( t ) => t . id !== toast . id ) ) }
146146 style = { {
Original file line number Diff line number Diff line change @@ -74,6 +74,7 @@ const PlanPage: React.FC = () => {
7474 // Accept chat input and submit clarification
7575 const handleOnchatSubmit = useCallback (
7676 async ( chatInput : string ) => {
77+ setInput ( "" ) ;
7778 console . log ( 'handleOnchatSubmit called with input:' , chatInput ) ;
7879 if ( ! chatInput . trim ( ) ) {
7980 showToast ( "Please enter a clarification" , "error" ) ;
You can’t perform that action at this time.
0 commit comments