chore(ui): lint

This commit is contained in:
psychedelicious 2024-02-16 22:42:15 +11:00
parent e50b76571a
commit f1597bd6da
2 changed files with 2 additions and 4 deletions

View File

@ -23,9 +23,7 @@ type UseModelComboboxReturn = {
noOptionsMessage: () => string; noOptionsMessage: () => string;
}; };
export const useModelCombobox = <T extends AnyModelConfig>( export const useModelCombobox = <T extends AnyModelConfig>(arg: UseModelComboboxArg<T>): UseModelComboboxReturn => {
arg: UseModelComboboxArg<T>
): UseModelComboboxReturn => {
const { t } = useTranslation(); const { t } = useTranslation();
const { modelEntities, selectedModel, getIsDisabled, onChange, isLoading, optionsFilter = () => true } = arg; const { modelEntities, selectedModel, getIsDisabled, onChange, isLoading, optionsFilter = () => true } = arg;
const options = useMemo<ComboboxOption[]>(() => { const options = useMemo<ComboboxOption[]>(() => {