Skip to content

Rallly is an open-source scheduling and collaboration tool designed to make organizing events and meetings easier.

🐛 Fix hydration error on the control panel home page (#2913)

Luke Vella81b75ebc7367
diff --git a/packages/ui/src/tile.tsx b/packages/ui/src/tile.tsx
index 598595cd6..3ba5e62b7 100644
--- a/packages/ui/src/tile.tsx
+++ b/packages/ui/src/tile.tsx
@@ -38,10 +38,10 @@ const TileTitle = React.forwardRef<
TileTitle.displayName = "TileTitle";
const TileDescription = React.forwardRef<
- HTMLParagraphElement,
- React.HTMLAttributes<HTMLParagraphElement>
+ HTMLDivElement,
+ React.HTMLAttributes<HTMLDivElement>
>(({ className, ...props }, ref) => (
- <p
+ <div
ref={ref}
className={cn(
"pointer-events-none absolute top-3 right-3 text-muted-foreground text-sm",