@@ -72,7 +72,8 @@ const ModelList = () => {
72
72
[ vaeModels , searchTerm , filteredModelType ]
73
73
) ;
74
74
75
- const [ spandrelImageToImageModels , { isLoading : isLoadingSpandrelImageToImageModels } ] = useSpandrelImageToImageModels ( ) ;
75
+ const [ spandrelImageToImageModels , { isLoading : isLoadingSpandrelImageToImageModels } ] =
76
+ useSpandrelImageToImageModels ( ) ;
76
77
const filteredSpandrelImageToImageModels = useMemo (
77
78
( ) => modelsFilter ( spandrelImageToImageModels , searchTerm , filteredModelType ) ,
78
79
[ spandrelImageToImageModels , searchTerm , filteredModelType ]
@@ -153,9 +154,15 @@ const ModelList = () => {
153
154
< ModelListWrapper title = { t ( 'common.t2iAdapter' ) } modelList = { filteredT2IAdapterModels } key = "t2i-adapters" />
154
155
) }
155
156
{ /* 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
+ ) }
157
160
{ ! 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
+ />
159
166
) }
160
167
{ totalFilteredModels === 0 && (
161
168
< Flex w = "full" h = "full" alignItems = "center" justifyContent = "center" >
0 commit comments