File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
site/src/modules/workspaces/DynamicParameter Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -949,12 +949,12 @@ export const Diagnostics: FC<DiagnosticsProps> = ({ diagnostics }) => {
949
949
{ diagnostics . map ( ( diagnostic , index ) => (
950
950
< div
951
951
key = { `diagnostic-${ diagnostic . summary } -${ index } ` }
952
- className = { `text-xs font-semibold flex flex-col rounded-md border px-3.5 py-3.5 border-solid
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
- } ` }
952
+ className = { cn (
953
+ "text-xs font-semibold flex flex-col rounded-md border px-3.5 py-3.5 border-solid" ,
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
+ ) }
958
958
>
959
959
< div className = "flex flex-row items-start" >
960
960
{ diagnostic . severity === "error" && (
You can’t perform that action at this time.
0 commit comments