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[]>(() => {

View File

@ -5,7 +5,7 @@ import { api, buildV1Url, LIST_TAG } from '..';
/** /**
* Builds an endpoint URL for the workflows router * Builds an endpoint URL for the workflows router
* @example * @example
* buildWorkflowsUrl('some-path') * buildWorkflowsUrl('some-path')
* // '/api/v1/workflows/some-path' * // '/api/v1/workflows/some-path'
*/ */
const buildWorkflowsUrl = (path: string = '') => buildV1Url(`workflows/${path}`); const buildWorkflowsUrl = (path: string = '') => buildV1Url(`workflows/${path}`);