Skip to content

Papermark is the open-source DocSend alternative and secure data rooms with built-in analytics and custom domains.

refactor: change card

Marc Seitz8de6b4516a08
diff --git a/components/ui/card.tsx b/components/ui/card.tsx
index 7fe79529..68adb708 100644
--- a/components/ui/card.tsx
+++ b/components/ui/card.tsx
@@ -33,7 +33,7 @@ const CardTitle = React.forwardRef<
HTMLParagraphElement,
React.HTMLAttributes<HTMLHeadingElement>
>(({ className, ...props }, ref) => (
- <h3
+ <div
ref={ref}
className={cn(
"text-2xl font-semibold leading-snug tracking-tight",
@@ -48,7 +48,7 @@ const CardDescription = React.forwardRef<
HTMLParagraphElement,
React.HTMLAttributes<HTMLParagraphElement>
>(({ className, ...props }, ref) => (
- <p
+ <div
ref={ref}
className={cn("text-sm text-muted-foreground", className)}
{...props}