From f16e0d95ada45db96557c514d87bb077a04153d6 Mon Sep 17 00:00:00 2001 From: Anish Sarkar <104695310+AnishSarkar22@users.noreply.github.com> Date: Fri, 20 Mar 2026 16:46:05 +0530 Subject: [PATCH] refactor: remove conditional rendering for step title in ThinkingStepsDisplay component --- surfsense_web/components/assistant-ui/thinking-steps.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/surfsense_web/components/assistant-ui/thinking-steps.tsx b/surfsense_web/components/assistant-ui/thinking-steps.tsx index a061d4224..437e395f2 100644 --- a/surfsense_web/components/assistant-ui/thinking-steps.tsx +++ b/surfsense_web/components/assistant-ui/thinking-steps.tsx @@ -127,11 +127,7 @@ export const ThinkingStepsDisplay: FC<{ steps: ThinkingStep[]; isThreadRunning?: effectiveStatus === "pending" && "text-muted-foreground/60" )} > - {effectiveStatus === "in_progress" ? ( - - ) : ( - step.title - )} + {step.title} {/* Step items (sub-content) */}