Fix compilation error

HeadlessUI changed the type declaration of Combobox onChange
https://github.com/tailwindlabs/headlessui/pull/3781
This commit is contained in:
Marc Brooks 2025-09-22 19:57:37 -05:00
parent 133df04fd1
commit a8854b5442
No known key found for this signature in database
GPG Key ID: 583A6AF2D6AE1DC6
1 changed files with 2 additions and 2 deletions

View File

@ -207,8 +207,8 @@ export function MacroStepCard({
)}
<div className="relative w-full">
<Combobox
onChange={(value: { value: string; label: string }) => {
onKeySelect(value);
onChange={(value) => {
onKeySelect({ value: value as string | null });
onKeyQueryChange('');
}}
displayValue={() => keyQuery}