Skip to content

Commit 1ee96d5

Browse files
committed
Update code-accordion.tsx
1 parent a25c877 commit 1ee96d5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

apps/postgres-new/components/code-accordion.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ export default function CodeAccordion({
2929
value="item-1"
3030
className={cn(
3131
'border bg-muted px-3 py-2 rounded-md',
32-
error ? 'bg-destructive text-destructive-foreground' : undefined,
32+
error ? 'border-destructive' : undefined,
3333
className
3434
)}
3535
>
3636
<AccordionTrigger className="p-0 gap-2">
3737
<div className="flex gap-2 items-center font-normal text-lighter text-sm">
3838
<DatabaseZap size={14} className="text-muted-foreground" />
39-
{title}
39+
<span className={cn(error ? 'text-destructive' : undefined)}>{title}</span>
4040
</div>
4141
</AccordionTrigger>
4242
<AccordionContent className="py-2 [&_>div]:pb-0 flex flex-col gap-2">

0 commit comments

Comments
 (0)