From edf756edcf6435d7ac66552af68195143927b692 Mon Sep 17 00:00:00 2001 From: iamlikeaproforyou Date: Tue, 10 Dec 2024 23:27:18 +0530 Subject: [PATCH] fixed content title not visible in sidebar --- src/components/Sidebar.tsx | 31 ++++++++++++++++++------------- 1 file changed, 18 insertions(+), 13 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index d3bf61eb..7e66ce1d 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -191,7 +191,7 @@ export function Sidebar({ ); } - + return (
-
-
- {content.type === 'video' && } - {content.type === 'video' && } - {content.type === 'notion' && } +
+
+
+ {content.type === 'video' && } + {content.type === 'video' && } + {content.type === 'notion' && } +
+
{content.title}
+
+
+ {content.type === 'video' && ( + + )}
- {content.type === 'video' && ( - - )}
@@ -303,7 +308,7 @@ function Check({ content }: { content: any }) { onChange={() => {}} // Controlled component onClick={handleCheck} type="checkbox" - className="focus:ring-none h-4 w-4 rounded-md border-primary/10" + className="focus:ring-none h-4 w-4 rounded-md border-primary/10 cursor-pointer" /> ); }