From 0fa6ecd3cec96577c1fde203934033700d413eb9 Mon Sep 17 00:00:00 2001 From: Kamran Ahmed Date: Fri, 30 Jun 2023 19:23:58 +0100 Subject: [PATCH] Remove youtube alert --- src/components/FeaturedItems/MarkFavorite.tsx | 3 +-- src/components/RoadmapHeader.astro | 4 +--- src/components/VideoHeader.astro | 1 + 3 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/components/FeaturedItems/MarkFavorite.tsx b/src/components/FeaturedItems/MarkFavorite.tsx index 1441d48ff..e85853d71 100644 --- a/src/components/FeaturedItems/MarkFavorite.tsx +++ b/src/components/FeaturedItems/MarkFavorite.tsx @@ -65,9 +65,8 @@ export function MarkFavorite({ }, }) ); - window.dispatchEvent(new CustomEvent('refresh-favorites', {})); - setIsFavorite(!isFavorite); + window.dispatchEvent(new CustomEvent('refresh-favorites', {})); setIsLoading(false); } diff --git a/src/components/RoadmapHeader.astro b/src/components/RoadmapHeader.astro index 99659c8e1..617af5f26 100644 --- a/src/components/RoadmapHeader.astro +++ b/src/components/RoadmapHeader.astro @@ -38,9 +38,7 @@ const isRoadmapReady = !isUpcoming;
- - -
+

{title}