Skip to content

Commit 52dcb50

Browse files
lint
1 parent 5b4bad1 commit 52dcb50

File tree

1 file changed

+10
-3
lines changed

1 file changed

+10
-3
lines changed

invokeai/frontend/web/src/features/parameters/components/Upscale/ParamTileControlNetModel.tsx

Lines changed: 10 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,8 @@ const ParamTileControlNetModel = () => {
2929
}
3030
return modelConfigs.filter((model) => {
3131
const isCompatible = model.base === currentBaseModel;
32-
const isTileOrMultiModel = model.name.toLowerCase().includes('tile') || model.name.toLowerCase().includes('union');
32+
const isTileOrMultiModel =
33+
model.name.toLowerCase().includes('tile') || model.name.toLowerCase().includes('union');
3334
return isCompatible && isTileOrMultiModel;
3435
});
3536
}, [modelConfigs, currentBaseModel]);
@@ -44,7 +45,13 @@ const ParamTileControlNetModel = () => {
4445
);
4546

4647
return (
47-
<FormControl isDisabled={!filteredModelConfigs.length} isInvalid={!filteredModelConfigs.length} minW={0} flexGrow={1} gap={2}>
48+
<FormControl
49+
isDisabled={!filteredModelConfigs.length}
50+
isInvalid={!filteredModelConfigs.length}
51+
minW={0}
52+
flexGrow={1}
53+
gap={2}
54+
>
4855
<InformationalPopover feature="controlNet">
4956
<FormLabel m={0}>{t('upscaling.tileControl')}</FormLabel>
5057
</InformationalPopover>
@@ -62,4 +69,4 @@ const ParamTileControlNetModel = () => {
6269
);
6370
};
6471

65-
export default memo(ParamTileControlNetModel);
72+
export default memo(ParamTileControlNetModel);

0 commit comments

Comments
 (0)