Skip to content

Commit a94d61c

Browse files
committed
style: simplify className in ComponentPreview for cleaner code
1 parent 75ce244 commit a94d61c

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/components/animations/component-preview.tsx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,7 @@ const ComponentPreview = ({
4242
href={href}
4343
target="_blank"
4444
className={cn(
45-
"absolute top-0 right-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300 border border-t-0 border-r-0 bg-red-50/80 px-2 py-0.5",
46-
"flex items-center gap-2 gradient text-white"
45+
"absolute top-0 right-0 opacity-0 group-hover:opacity-100 transition-opacity duration-300 border border-t-0 border-r-0 px-2 py-0.5 flex items-center gap-2 gradient text-white"
4746
)}
4847
>
4948
<p className="flex items-center gap-2 text-sm">

0 commit comments

Comments
 (0)