fraudTech commited on
Commit
6b95b48
·
1 Parent(s): 8881a12

fixed thinking spinner completion state and loading status message

Browse files
Files changed (1) hide show
  1. web/src/App.tsx +4 -0
web/src/App.tsx CHANGED
@@ -505,6 +505,10 @@ function App() {
505
  : msg
506
  )
507
  );
 
 
 
 
508
  } else if (event === 'error') {
509
  // Error occurred
510
  setIsLoading(false);
 
505
  : msg
506
  )
507
  );
508
+ } else if (event === 'done') {
509
+ // Stream completed - ensure all loading states are cleared
510
+ setIsLoading(false);
511
+ setStatusMessage('');
512
  } else if (event === 'error') {
513
  // Error occurred
514
  setIsLoading(false);