More typing and fixes

This commit is contained in:
Sean Edmunds
2025-04-25 15:02:00 -05:00
parent 74893ac68d
commit b280909ec9
31 changed files with 230 additions and 110 deletions

View File

@@ -2,6 +2,8 @@ import {
ActionIcon,
Button,
Card,
type ComboboxItem,
type ComboboxLikeRenderOptionInput,
Group,
Select,
Stack,
@@ -194,13 +196,13 @@ function DebouncedApplication({
zIndex: 3000,
withinPortal: false,
}}
onChange={(event: any) => {
onChange={(value: string | null) => {
setUpdate({
...app,
icon: event,
icon: value,
});
}}
renderOption={(item: any) => {
renderOption={(item: ComboboxLikeRenderOptionInput<ComboboxItem>) => {
const Icon = allIcons[item.option.value];
return (
<Group>