Skip to content

Commit 9d37392

Browse files
committed
Prettier formatting.
1 parent 534528b commit 9d37392

File tree

1 file changed

+10
-3
lines changed
  • invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel

1 file changed

+10
-3
lines changed

invokeai/frontend/web/src/features/modelManagerV2/subpanels/ModelManagerPanel/ModelList.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,8 @@ const ModelList = () => {
7272
[vaeModels, searchTerm, filteredModelType]
7373
);
7474

75-
const [spandrelImageToImageModels, { isLoading: isLoadingSpandrelImageToImageModels }] = useSpandrelImageToImageModels();
75+
const [spandrelImageToImageModels, { isLoading: isLoadingSpandrelImageToImageModels }] =
76+
useSpandrelImageToImageModels();
7677
const filteredSpandrelImageToImageModels = useMemo(
7778
() => modelsFilter(spandrelImageToImageModels, searchTerm, filteredModelType),
7879
[spandrelImageToImageModels, searchTerm, filteredModelType]
@@ -153,9 +154,15 @@ const ModelList = () => {
153154
<ModelListWrapper title={t('common.t2iAdapter')} modelList={filteredT2IAdapterModels} key="t2i-adapters" />
154155
)}
155156
{/* Spandrel Image to Image List */}
156-
{isLoadingSpandrelImageToImageModels && <FetchingModelsLoader loadingMessage="Loading Spandrel Image to Image Models..." />}
157+
{isLoadingSpandrelImageToImageModels && (
158+
<FetchingModelsLoader loadingMessage="Loading Spandrel Image to Image Models..." />
159+
)}
157160
{!isLoadingSpandrelImageToImageModels && filteredSpandrelImageToImageModels.length > 0 && (
158-
<ModelListWrapper title="Spandrel Image to Image" modelList={filteredSpandrelImageToImageModels} key="spandrel-image-to-image" />
161+
<ModelListWrapper
162+
title="Spandrel Image to Image"
163+
modelList={filteredSpandrelImageToImageModels}
164+
key="spandrel-image-to-image"
165+
/>
159166
)}
160167
{totalFilteredModels === 0 && (
161168
<Flex w="full" h="full" alignItems="center" justifyContent="center">

0 commit comments

Comments
 (0)