Skip to content

Commit 55225c3

Browse files
author
Attila Cseh
committed
prettier errors fixed
1 parent 6b29e1f commit 55225c3

File tree

4 files changed

+40
-5
lines changed

4 files changed

+40
-5
lines changed

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/FloatGeneratorArithmeticSequenceSettings.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,14 @@ export const FloatGeneratorArithmeticSequenceSettings = memo(
4545
</FormControl>
4646
<FormControl orientation="vertical">
4747
<FormLabel>{t('common.step')}</FormLabel>
48-
<CompositeNumberInput value={state.step} onChange={onChangeStep} min={-Infinity} max={Infinity} step={0.01} allowMath />
48+
<CompositeNumberInput
49+
value={state.step}
50+
onChange={onChangeStep}
51+
min={-Infinity}
52+
max={Infinity}
53+
step={0.01}
54+
allowMath
55+
/>
4956
</FormControl>
5057
<FormControl orientation="vertical">
5158
<FormLabel>{t('common.count')}</FormLabel>

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/FloatGeneratorLinearDistributionSettings.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,14 @@ export const FloatGeneratorLinearDistributionSettings = memo(
4545
</FormControl>
4646
<FormControl orientation="vertical">
4747
<FormLabel>{t('common.end')}</FormLabel>
48-
<CompositeNumberInput value={state.end} onChange={onChangeEnd} min={-Infinity} max={Infinity} step={0.01} allowMath />
48+
<CompositeNumberInput
49+
value={state.end}
50+
onChange={onChangeEnd}
51+
min={-Infinity}
52+
max={Infinity}
53+
step={0.01}
54+
allowMath
55+
/>
4956
</FormControl>
5057
<FormControl orientation="vertical">
5158
<FormLabel>{t('common.count')}</FormLabel>

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/FloatGeneratorUniformRandomDistributionSettings.tsx

Lines changed: 16 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,11 +45,25 @@ export const FloatGeneratorUniformRandomDistributionSettings = memo(
4545
<Flex gap={2} alignItems="flex-end">
4646
<FormControl orientation="vertical">
4747
<FormLabel>{t('common.min')}</FormLabel>
48-
<CompositeNumberInput value={state.min} onChange={onChangeMin} min={-Infinity} max={Infinity} step={0.01} allowMath />
48+
<CompositeNumberInput
49+
value={state.min}
50+
onChange={onChangeMin}
51+
min={-Infinity}
52+
max={Infinity}
53+
step={0.01}
54+
allowMath
55+
/>
4956
</FormControl>
5057
<FormControl orientation="vertical">
5158
<FormLabel>{t('common.max')}</FormLabel>
52-
<CompositeNumberInput value={state.max} onChange={onChangeMax} min={-Infinity} max={Infinity} step={0.01} allowMath />
59+
<CompositeNumberInput
60+
value={state.max}
61+
onChange={onChangeMax}
62+
min={-Infinity}
63+
max={Infinity}
64+
step={0.01}
65+
allowMath
66+
/>
5367
</FormControl>
5468
<FormControl orientation="vertical">
5569
<FormLabel>{t('common.count')}</FormLabel>

invokeai/frontend/web/src/features/nodes/components/flow/nodes/Invocation/fields/inputs/StringGeneratorDynamicPromptsCombinatorialSettings.tsx

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,14 @@ export const StringGeneratorDynamicPromptsCombinatorialSettings = memo(
2929
<Flex gap={2} flexDir="column">
3030
<FormControl orientation="vertical">
3131
<FormLabel>{t('dynamicPrompts.maxPrompts')}</FormLabel>
32-
<CompositeNumberInput value={state.maxPrompts} onChange={onChangeMaxPrompts} min={1} max={1000} w="full" allowMath />
32+
<CompositeNumberInput
33+
value={state.maxPrompts}
34+
onChange={onChangeMaxPrompts}
35+
min={1}
36+
max={1000}
37+
w="full"
38+
allowMath
39+
/>
3340
</FormControl>
3441
<GeneratorTextareaWithFileUpload value={state.input} onChange={onChangeInput} />
3542
</Flex>

0 commit comments

Comments
 (0)