diff --git a/components/dashboard/src/AppNotifications.tsx b/components/dashboard/src/AppNotifications.tsx index 54106eab72c332..9eb884538d45c9 100644 --- a/components/dashboard/src/AppNotifications.tsx +++ b/components/dashboard/src/AppNotifications.tsx @@ -167,12 +167,11 @@ const GENERAL_NOTIFICATION = ( } as Notification; }; -/* const AWS_REINVENT_NOTIFICATION = (updateUser: (user: Partial) => Promise) => { +const AWS_REINVENT_NOTIFICATION = (updateUser: (user: Partial) => Promise) => { return GENERAL_NOTIFICATION( "aws_reinvent_2024", - See you at re:Invent! Book a demo with us, and join our developer productivity leaders roundtable - (limited tickets) |{" "} + See you at re:Invent! Book a demo with us, and join our developer productivity leaders roundtable (limited tickets) |{" "} ) => Promise) => { - return GENERAL_NOTIFICATION( - "flex_webinar_2024", - - Upcoming webinar: Gitpod Flex - Deploy your self-hosted CDE in 3 minutes |{" "} - - Register now - - , - updateUser, - "flex_webinar_notification", - ); }; export function AppNotifications() { @@ -239,12 +219,8 @@ export function AppNotifications() { notifications.push(GITPOD_FLEX_INTRODUCTION((u: Partial) => mutateAsync(u))); } - // if (isGitpodIo() && !user?.profile?.coachmarksDismissals["aws_reinvent_2024"]) { - // notifications.push(AWS_REINVENT_NOTIFICATION((u: Partial) => mutateAsync(u))); - // } - - if (isGitpodIo() && !user?.profile?.coachmarksDismissals["flex_webinar_2024"]) { - notifications.push(FLEX_WEBINAR_NOTIFICATION((u: Partial) => mutateAsync(u))); + if (isGitpodIo() && !user?.profile?.coachmarksDismissals["aws_reinvent_2024"]) { + notifications.push(AWS_REINVENT_NOTIFICATION((u: Partial) => mutateAsync(u))); } }