mirror of https://github.com/jetkvm/kvm.git
Fix compilation error
HeadlessUI changed the type declaration of Combobox onChange https://github.com/tailwindlabs/headlessui/pull/3781
This commit is contained in:
parent
133df04fd1
commit
a8854b5442
|
@ -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}
|
||||
|
|
Loading…
Reference in New Issue