From cb5bac79a161fbbc2f5387b8ce4379d6636b5fc1 Mon Sep 17 00:00:00 2001 From: Carey Gumaer Date: Fri, 17 Jan 2025 15:09:14 -0500 Subject: [PATCH] exclude the current resource --- .../LearningResourceDrawer/LearningResourceDrawerV2.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/frontends/main/src/page-components/LearningResourceDrawer/LearningResourceDrawerV2.tsx b/frontends/main/src/page-components/LearningResourceDrawer/LearningResourceDrawerV2.tsx index a5deae4096..8243cc2bfb 100644 --- a/frontends/main/src/page-components/LearningResourceDrawer/LearningResourceDrawerV2.tsx +++ b/frontends/main/src/page-components/LearningResourceDrawer/LearningResourceDrawerV2.tsx @@ -120,6 +120,7 @@ const DrawerContent: React.FC<{ }, }, ]} + excludeResourceId={resourceId} /> ) : null const topCarousels = coursesInProgramCarousel @@ -145,6 +146,7 @@ const DrawerContent: React.FC<{ }, }, ]} + excludeResourceId={resourceId} /> ) : null ) : null @@ -164,6 +166,7 @@ const DrawerContent: React.FC<{ }, }, ]} + excludeResourceId={resourceId} /> ) : null const similarResourcesCarousel = (