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