Skip to content

Commit

Permalink
Update ability.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
joelhooks authored Dec 13, 2024
1 parent 5e11237 commit d9a588b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/skill-lesson/utils/ability.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit d9a588b

Please sign in to comment.