mirror of
https://github.com/invoke-ai/InvokeAI
synced 2024-08-30 20:32:17 +00:00
chore(ui): lint
This commit is contained in:
parent
e50b76571a
commit
f1597bd6da
@ -23,9 +23,7 @@ type UseModelComboboxReturn = {
|
||||
noOptionsMessage: () => string;
|
||||
};
|
||||
|
||||
export const useModelCombobox = <T extends AnyModelConfig>(
|
||||
arg: UseModelComboboxArg<T>
|
||||
): UseModelComboboxReturn => {
|
||||
export const useModelCombobox = <T extends AnyModelConfig>(arg: UseModelComboboxArg<T>): UseModelComboboxReturn => {
|
||||
const { t } = useTranslation();
|
||||
const { modelEntities, selectedModel, getIsDisabled, onChange, isLoading, optionsFilter = () => true } = arg;
|
||||
const options = useMemo<ComboboxOption[]>(() => {
|
||||
|
@ -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}`);
|
||||
|
Loading…
Reference in New Issue
Block a user