From a4bc85bb565145e33323e256d2acea499559d167 Mon Sep 17 00:00:00 2001 From: Mavis Bot Date: Wed, 5 Aug 2026 01:28:17 +0000 Subject: [PATCH] fix: removed emoji from achievement unlock notification emails --- src/lib/notification-senders/achievement.ts | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/lib/notification-senders/achievement.ts b/src/lib/notification-senders/achievement.ts index 48e5d310b..9b1b48838 100644 --- a/src/lib/notification-senders/achievement.ts +++ b/src/lib/notification-senders/achievement.ts @@ -1,6 +1,6 @@ import { sendNotificationAsync } from "../notifications"; import { buildButton } from "../email-template"; -import { TIER_EMOJI } from "../achievements"; +import { TIER_COLORS } from "../achievements"; const BASE_URL = process.env.NEXT_PUBLIC_APP_URL || "https://theleetcodecity.tech"; @@ -41,9 +41,10 @@ export function sendAchievementNotification( const achievementListHtml = notable .map((a) => { - const emoji = TIER_EMOJI[a.tier] ?? ""; + const tierColor = TIER_COLORS[a.tier] ?? "#888888"; return `
  • - ${emoji} ${a.name} + + ${a.name} (${a.tier})
  • `; })