Skip to content

Commit 8fb2114

Browse files
Update src/lib/util/promos/promo.ts
Co-authored-by: Sidharth Vinod <[email protected]>
1 parent 7bae587 commit 8fb2114

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/lib/util/promos/promo.ts

+1-2
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ const dismissedPromotionsStore: Writable<string[]> = persist(
3636
);
3737

3838
export const getActivePromotion = (): Promotion | undefined => {
39-
const { isEnabledMermaidChartLinks } = env;
40-
if (!isEnabledMermaidChartLinks) {
39+
if (!env.isEnabledMermaidChartLinks) {
4140
return;
4241
}
4342

0 commit comments

Comments
 (0)