From 82c427e523712017e0f28c9fac69fff934d8263c Mon Sep 17 00:00:00 2001 From: Eksaq Dev Date: Tue, 10 Dec 2024 11:54:39 +0530 Subject: [PATCH 1/2] fixed Video Title is not showing up in sidebar component. --- src/components/Sidebar.tsx | 39 ++++++++++++++++++++------------------ 1 file changed, 21 insertions(+), 18 deletions(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index d3bf61eb3..f1d76e966 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -196,7 +196,7 @@ export function Sidebar({ ) @@ -210,13 +210,14 @@ export function Sidebar({ {content.type === 'video' && } {content.type === 'notion' && } - {content.type === 'video' && ( - - )} +
{content.title}
+ {content.type === 'video' && ( + + )} ); @@ -256,17 +257,19 @@ export function Sidebar({

Course Content

- - +
+ + +
Date: Tue, 10 Dec 2024 12:06:58 +0530 Subject: [PATCH 2/2] fixed Video Title is not showing up in sidebar component. --- src/components/Sidebar.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Sidebar.tsx b/src/components/Sidebar.tsx index f1d76e966..5ca05f9f0 100644 --- a/src/components/Sidebar.tsx +++ b/src/components/Sidebar.tsx @@ -196,7 +196,7 @@ export function Sidebar({ )