From 84fb6debc142557ca42bdee2609055324f17c9c6 Mon Sep 17 00:00:00 2001 From: Ajay Dhangar <99037494+ajay-dhangar@users.noreply.github.com> Date: Sun, 29 Sep 2024 19:22:34 +0530 Subject: [PATCH 1/2] Update index.tsx --- src/components/Lesson/index.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/Lesson/index.tsx b/src/components/Lesson/index.tsx index b51d6eb59..239f9b42f 100644 --- a/src/components/Lesson/index.tsx +++ b/src/components/Lesson/index.tsx @@ -22,7 +22,7 @@ const Lesson: React.FC = ({ title, tags, description }) => {

{description}

{/* Description or content of the lesson */}
{/* Container for tags */} {tags.map((tag, index) => ( - {tag} + {tag} )) }
From d104569adbfc7281c935d5d434d70e4eef9a9b54 Mon Sep 17 00:00:00 2001 From: Ajay Dhangar <99037494+ajay-dhangar@users.noreply.github.com> Date: Sun, 29 Sep 2024 19:29:22 +0530 Subject: [PATCH 2/2] Update index.tsx --- src/components/Lesson/index.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Lesson/index.tsx b/src/components/Lesson/index.tsx index 239f9b42f..344a8e8df 100644 --- a/src/components/Lesson/index.tsx +++ b/src/components/Lesson/index.tsx @@ -21,8 +21,8 @@ const Lesson: React.FC = ({ title, tags, description }) => {

{title}

{/* Title of the lesson */}

{description}

{/* Description or content of the lesson */}
{/* Container for tags */} - {tags.map((tag, index) => ( - {tag} + {tags.map((tag) => ( + {tag} )) }