Skip to content

Commit 4f5ff39

Browse files
committed
Update code-accordion.tsx
1 parent b6c7353 commit 4f5ff39

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

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

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ export default function CodeAccordion({
3636
<AccordionTrigger
3737
className={cn(
3838
'p-0 gap-2 px-3 py-2',
39-
error ? 'bg-destructive border-destructive' : undefined
39+
error
40+
? 'bg-destructive border-destructive [&_svg]:text-destructive-foreground'
41+
: undefined
4042
)}
4143
>
4244
<div className="flex gap-2 items-center font-normal text-lighter text-sm">

0 commit comments

Comments
 (0)