From f1597bd6da1bd411f5e2d7feb540cf68c1fe5db5 Mon Sep 17 00:00:00 2001 From: psychedelicious <4822129+psychedelicious@users.noreply.github.com> Date: Fri, 16 Feb 2024 22:42:15 +1100 Subject: [PATCH] chore(ui): lint --- invokeai/frontend/web/src/common/hooks/useModelCombobox.ts | 4 +--- invokeai/frontend/web/src/services/api/endpoints/workflows.ts | 2 +- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/invokeai/frontend/web/src/common/hooks/useModelCombobox.ts b/invokeai/frontend/web/src/common/hooks/useModelCombobox.ts index 341fed1e47..07e6aeb34c 100644 --- a/invokeai/frontend/web/src/common/hooks/useModelCombobox.ts +++ b/invokeai/frontend/web/src/common/hooks/useModelCombobox.ts @@ -23,9 +23,7 @@ type UseModelComboboxReturn = { noOptionsMessage: () => string; }; -export const useModelCombobox = ( - arg: UseModelComboboxArg -): UseModelComboboxReturn => { +export const useModelCombobox = (arg: UseModelComboboxArg): UseModelComboboxReturn => { const { t } = useTranslation(); const { modelEntities, selectedModel, getIsDisabled, onChange, isLoading, optionsFilter = () => true } = arg; const options = useMemo(() => { diff --git a/invokeai/frontend/web/src/services/api/endpoints/workflows.ts b/invokeai/frontend/web/src/services/api/endpoints/workflows.ts index 1e64809e5a..0280e2ebc4 100644 --- a/invokeai/frontend/web/src/services/api/endpoints/workflows.ts +++ b/invokeai/frontend/web/src/services/api/endpoints/workflows.ts @@ -5,7 +5,7 @@ import { api, buildV1Url, LIST_TAG } from '..'; /** * Builds an endpoint URL for the workflows router * @example - * buildWorkflowsUrl('some-path') + * buildWorkflowsUrl('some-path') * // '/api/v1/workflows/some-path' */ const buildWorkflowsUrl = (path: string = '') => buildV1Url(`workflows/${path}`);