8000 :| · coder/coder@8412c8d · GitHub
[go: up one dir, main page]

Skip to content

Commit 8412c8d

Browse files
committed
:|
1 parent 7c75046 commit 8412c8d

File tree

1 file changed

+8
-7
lines changed

1 file changed

+8
-7
lines changed

site/src/modules/workspaces/DynamicParameter/DynamicParameter.tsx

Lines changed: 8 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ export const DynamicParameter: FC<DynamicParameterProps> = ({
8383
/>
8484
<div className="max-w-lg">
8585
{parameter.form_type === "input" ||
86-
parameter.form_type === "textarea" ? (
86+
parameter.form_type === "textarea" ? (
8787
<DebouncedParameterField
8888
id={id}
8989
parameter={parameter}
@@ -322,8 +322,8 @@ const DebouncedParameterField: FC<DebouncedParameterFieldProps> = ({
322322
className={cn(
323323
"overflow-y-auto max-h-[500px]",
324324
parameter.styling?.mask_input &&
325-
!showMaskedInput &&
326-
"[-webkit-text-security:disc]",
325+
!showMaskedInput &&
326+
"[-webkit-text-security:disc]",
327327
)}
328328
value={localValue}
329329
onChange={(e) => {
@@ -691,10 +691,11 @@ const ParameterDiagnostics: FC<ParameterDiagnosticsProps> = ({
691691
return (
692692
<div
693693
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+
}`}
698699
>
699700
<p className="font-medium">{diagnostic.summary}</p>
700701
{diagnostic.detail && <p className="m-0">{diagnostic.detail}</p>}

0 commit comments

Comments
 (0)
0