From b74f779daa8af26399d4433b107c968b44c86e91 Mon Sep 17 00:00:00 2001 From: Marc Brooks Date: Wed, 15 Oct 2025 04:18:00 +0000 Subject: [PATCH] Merged in dev hotfix --- ui/src/components/MacroStepCard.tsx | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/ui/src/components/MacroStepCard.tsx b/ui/src/components/MacroStepCard.tsx index 82646949..e6b7c356 100644 --- a/ui/src/components/MacroStepCard.tsx +++ b/ui/src/components/MacroStepCard.tsx @@ -2,7 +2,7 @@ import { useMemo } from "react"; import { LuArrowUp, LuArrowDown, LuX, LuTrash2 } from "react-icons/lu"; import { Button } from "@components/Button"; -import { Combobox } from "@components/Combobox"; +import { Combobox, ComboboxOption } from "@components/Combobox"; import Card from "@components/Card"; import FieldLabel from "@components/FieldLabel"; import { SelectMenuBasic } from "@components/SelectMenuBasic"; @@ -209,8 +209,9 @@ export function MacroStepCard({ )}
{ - onKeySelect({ value: value as string | null }); + onChange={(option) => { + const selectedOption = option as ComboboxOption | null; + onKeySelect({ value: selectedOption?.value ?? null }); onKeyQueryChange(''); }} displayValue={() => keyQuery}