From bd6a4b5cb2b1bcd035282e90638b23d3636908bd Mon Sep 17 00:00:00 2001 From: "open-swe-dev[bot]" <214404619+open-swe-dev[bot]@users.noreply.github.com> Date: Wed, 18 Jun 2025 00:59:03 +0000 Subject: [PATCH] [open-swe] fix: change ActionStep dropdown to collapsed by default (#205) * Apply patch * formatting --------- Co-authored-by: open-swe-dev[bot] Co-authored-by: bracesproul --- apps/web/src/components/gen-ui/action-step.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/web/src/components/gen-ui/action-step.tsx b/apps/web/src/components/gen-ui/action-step.tsx index 24e3da18..4be1266a 100644 --- a/apps/web/src/components/gen-ui/action-step.tsx +++ b/apps/web/src/components/gen-ui/action-step.tsx @@ -46,7 +46,7 @@ export type ActionStepProps = | PatchActionProps; export function ActionStep(props: ActionStepProps) { - const [expanded, setExpanded] = useState(props.status === "done"); + const [expanded, setExpanded] = useState(false); const [showReasoning, setShowReasoning] = useState(false); const [showSummary, setShowSummary] = useState(false);