File tree Expand file tree Collapse file tree 1 file changed +8
-7
lines changed
site/src/modules/workspaces/DynamicParameter Expand file tree Collapse file tree 1 file changed +8
-7
lines changed Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ export const DynamicParameter: FC<DynamicParameterProps> = ({
83
83
/>
84
84
< div className = "max-w-lg" >
85
85
{ parameter . form_type === "input" ||
86
- parameter . form_type === "textarea" ? (
86
+ parameter . form_type === "textarea" ? (
87
87
< DebouncedParameterField
88
88
id = { id }
89
89
parameter = { parameter }
@@ -322,8 +322,8 @@ const DebouncedParameterField: FC<DebouncedParameterFieldProps> = ({
322
322
className = { cn (
323
323
"overflow-y-auto max-h-[500px]" ,
324
324
parameter . styling ?. mask_input &&
325
- ! showMaskedInput &&
326
- "[-webkit-text-security:disc]" ,
325
+ ! showMaskedInput &&
326
+ "[-webkit-text-security:disc]" ,
327
327
) }
328
328
value = { localValue }
329
329
onChange = { ( e ) => {
@@ -691,10 +691,11 @@ const ParameterDiagnostics: FC<ParameterDiagnosticsProps> = ({
691
691
return (
692
692
< div
693
693
key = { `parameter-diagnostic-${ diagnostic . summary } -${ index } ` }
694
- className = { `text-xs px-1 ${ diagnostic . severity === "error"
695
- ? "text-content-destructive"
696
- : "text-content-warning"
697
- } `}
694
+ className = { `text-xs px-1 ${
695
+ diagnostic . severity === "error"
696
+ ? "text-content-destructive"
697
+ : "text-content-warning"
698
+ } `}
698
699
>
699
700
< p className = "font-medium" > { diagnostic . summary } </ p >
700
701
{ diagnostic . detail && < p className = "m-0" > { diagnostic . detail } </ p > }
You can’t perform that action at this time.
0 commit comments