From 080ab4a4b5bb9091b25f6d2c0e303276893afb83 Mon Sep 17 00:00:00 2001 From: Austin Kelsay <53542748+AustinKelsay@users.noreply.github.com> Date: Mon, 31 Mar 2025 09:41:05 -0500 Subject: [PATCH] Update src/components/content/courses/CourseLesson.js Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com> --- src/components/content/courses/CourseLesson.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/components/content/courses/CourseLesson.js b/src/components/content/courses/CourseLesson.js index 983000d..ad8830b 100644 --- a/src/components/content/courses/CourseLesson.js +++ b/src/components/content/courses/CourseLesson.js @@ -89,17 +89,6 @@ const CourseLesson = ({ lesson, course, decryptionPerformed, isPaid, setComplete ]; // Add additional links to menu items if they exist - if (lesson?.additionalLinks && lesson.additionalLinks.length > 0) { - lesson.additionalLinks.forEach((link, index) => { - menuItems.push({ - label: `Link: ${new URL(link).hostname}`, - icon: 'pi pi-external-link', - command: () => { - window.open(link, '_blank'); - } - }); - }); - } useEffect(() => { if (!zaps || zapsLoading || zapsError) return;