@@ -46,9 +46,9 @@ import {
46
46
TriangleAlert ,
47
47
} from "lucide-react" ;
48
48
import { type FC , useEffect , useId , useRef , useState } from "react" ;
49
+ import { cn } from "utils/cn" ;
49
50
import type { AutofillBuildParameter } from "utils/richParameters" ;
50
51
import * as Yup from "yup" ;
51
- import { cn } from "utils/cn" ;
52
52
53
53
interface DynamicParameterProps {
54
54
parameter : PreviewParameter ;
@@ -82,7 +82,7 @@ export const DynamicParameter: FC<DynamicParameterProps> = ({
82
82
/>
83
83
< div className = "max-w-lg" >
84
84
{ parameter . form_type === "input" ||
85
- parameter . form_type === "textarea" ? (
85
+ parameter . form_type === "textarea" ? (
86
86
< DebouncedParameterField
87
87
id = { id }
88
88
parameter = { parameter }
@@ -321,8 +321,8 @@ const DebouncedParameterField: FC<DebouncedParameterFieldProps> = ({
321
321
className = { cn (
322
322
"overflow-y-auto max-h-[500px]" ,
323
323
parameter . styling ?. mask_input &&
324
- ! showMaskedInput &&
325
- "[-webkit-text-security:disc]" ,
324
+ ! showMaskedInput &&
325
+ "[-webkit-text-security:disc]" ,
326
326
) }
327
327
value = { localValue }
328
328
onChange = { ( e ) => {
@@ -689,10 +689,11 @@ const ParameterDiagnostics: FC<ParameterDiagnosticsProps> = ({
689
689
return (
690
690
< div
691
691
key = { `parameter-diagnostic-${ diagnostic . summary } -${ index } ` }
692
- className = { `text-xs px-1 ${ diagnostic . severity === "error"
693
- ? "text-content-destructive"
694
- : "text-content-warning"
695
- } `}
692
+ className = { `text-xs px-1 ${
693
+ diagnostic . severity === "error"
694
+ ? "text-content-destructive"
695
+ : "text-content-warning"
696
+ } `}
696
697
>
697
698
< p className = "font-medium" > { diagnostic . summary } </ p >
698
699
{ diagnostic . detail && < p className = "m-0" > { diagnostic . detail } </ p > }
@@ -949,10 +950,11 @@ export const Diagnostics: FC<DiagnosticsProps> = ({ diagnostics }) => {
949
950
< div
950
951
key = { `diagnostic-${ diagnostic . summary } -${ index } ` }
951
952
className = { `text-xs font-semibold flex flex-col rounded-md border px-3.5 py-3.5 border-solid
952
- ${ diagnostic . severity === "error"
953
- ? "text-content-primary border-border-destructive bg-content-destructive/15"
954
- : "text-content-primary border-border-warning bg-content-warning/15"
955
- } `}
953
+ ${
954
+ diagnostic . severity === "error"
955
+ ? "text-content-primary border-border-destructive bg-content-destructive/15"
956
+ : "text-content-primary border-border-warning bg-content-warning/15"
957
+ } `}
956
958
>
957
959
< div className = "flex flex-row items-start" >
958
960
{ diagnostic . severity === "error" && (
0 commit comments