From 1318040fe88ff1298e536a8900a46bb3522c9296 Mon Sep 17 00:00:00 2001 From: joel Date: Thu, 12 Dec 2024 07:55:07 -0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=A4=A1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- packages/skill-lesson/utils/ability.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/skill-lesson/utils/ability.ts b/packages/skill-lesson/utils/ability.ts index 932fd94d8..ca7f82ace 100644 --- a/packages/skill-lesson/utils/ability.ts +++ b/packages/skill-lesson/utils/ability.ts @@ -145,7 +145,7 @@ const isFreelyVisible = ({ // TODO: remove this after 2024-12-20 const isTsPromo = - module?.slug.current === 'typescript-generics' || + module?.slug.current === 'typescript-generics' && new Date() < new Date('2024-12-20T00:00:00-08:00') if (isTsPromo) {