From 015362c9b4389a50108b3224f8153a9a840c481a Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Thu, 29 Feb 2024 13:13:40 +0000
Subject: refactor: Use a Slot for passing classnames to children instead

---
 packages/web/app/dashboard/bookmarks/components/TextCard.tsx | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'packages/web/app/dashboard/bookmarks/components/TextCard.tsx')

diff --git a/packages/web/app/dashboard/bookmarks/components/TextCard.tsx b/packages/web/app/dashboard/bookmarks/components/TextCard.tsx
index 29d22352..5d571356 100644
--- a/packages/web/app/dashboard/bookmarks/components/TextCard.tsx
+++ b/packages/web/app/dashboard/bookmarks/components/TextCard.tsx
@@ -16,7 +16,7 @@ export default function TextCard({
   className,
 }: {
   bookmark: ZBookmark;
-  className: string;
+  className?: string;
 }) {
   const { data: bookmark } = api.bookmarks.getBookmark.useQuery(
     {
-- 
cgit v1.2.3-70-g09d2

