Merged in dev hotfix

This commit is contained in:
Marc Brooks 2025-10-15 04:18:00 +00:00
parent 748155d815
commit b74f779daa
1 changed files with 4 additions and 3 deletions

View File

@ -2,7 +2,7 @@ import { useMemo } from "react";
import { LuArrowUp, LuArrowDown, LuX, LuTrash2 } from "react-icons/lu"; import { LuArrowUp, LuArrowDown, LuX, LuTrash2 } from "react-icons/lu";
import { Button } from "@components/Button"; import { Button } from "@components/Button";
import { Combobox } from "@components/Combobox"; import { Combobox, ComboboxOption } from "@components/Combobox";
import Card from "@components/Card"; import Card from "@components/Card";
import FieldLabel from "@components/FieldLabel"; import FieldLabel from "@components/FieldLabel";
import { SelectMenuBasic } from "@components/SelectMenuBasic"; import { SelectMenuBasic } from "@components/SelectMenuBasic";
@ -209,8 +209,9 @@ export function MacroStepCard({
)} )}
<div className="relative w-full"> <div className="relative w-full">
<Combobox <Combobox
onChange={(value) => { onChange={(option) => {
onKeySelect({ value: value as string | null }); const selectedOption = option as ComboboxOption | null;
onKeySelect({ value: selectedOption?.value ?? null });
onKeyQueryChange(''); onKeyQueryChange('');
}} }}
displayValue={() => keyQuery} displayValue={() => keyQuery}