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">
|
<div className="relative w-full">
|
||||||
<Combobox
|
<Combobox
|
||||||
onChange={(value: { value: string; label: string }) => {
|
onChange={(value) => {
|
||||||
onKeySelect(value);
|
onKeySelect({ value: value as string | null });
|
||||||
onKeyQueryChange('');
|
onKeyQueryChange('');
|
||||||
}}
|
}}
|
||||||
displayValue={() => keyQuery}
|
displayValue={() => keyQuery}
|
||||||
|
|
Loading…
Reference in New Issue