mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2025-08-11 19:53:59 +02:00
Remove youtube alert
This commit is contained in:
@@ -65,9 +65,8 @@ export function MarkFavorite({
|
|||||||
},
|
},
|
||||||
})
|
})
|
||||||
);
|
);
|
||||||
window.dispatchEvent(new CustomEvent('refresh-favorites', {}));
|
|
||||||
|
|
||||||
setIsFavorite(!isFavorite);
|
window.dispatchEvent(new CustomEvent('refresh-favorites', {}));
|
||||||
setIsLoading(false);
|
setIsLoading(false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@@ -38,9 +38,7 @@ const isRoadmapReady = !isUpcoming;
|
|||||||
|
|
||||||
<div class="border-b">
|
<div class="border-b">
|
||||||
<div class="container relative py-5 sm:py-12">
|
<div class="container relative py-5 sm:py-12">
|
||||||
<YouTubeAlert />
|
<div class="mb-3 mt-0 sm:mb-4">
|
||||||
|
|
||||||
<div class="mb-3 mt-0 sm:mb-4 sm:mt-4">
|
|
||||||
<h1 class="mb-0.5 text-2xl font-bold sm:mb-2 sm:text-4xl">
|
<h1 class="mb-0.5 text-2xl font-bold sm:mb-2 sm:text-4xl">
|
||||||
{title}
|
{title}
|
||||||
<MarkFavorite
|
<MarkFavorite
|
||||||
|
@@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
import type { VideoFileType } from '../lib/video';
|
import type { VideoFileType } from '../lib/video';
|
||||||
|
import YouTubeAlert from "./YouTubeAlert.astro";
|
||||||
|
|
||||||
export interface Props {
|
export interface Props {
|
||||||
video: VideoFileType;
|
video: VideoFileType;
|
||||||
|
Reference in New Issue
Block a user