From 3aa9f409fcd3f55fb41bfcd0660fa980d7f51eba Mon Sep 17 00:00:00 2001 From: Alexander Zinchuk Date: Fri, 19 Apr 2024 13:49:19 +0400 Subject: [PATCH] Profile: Remove the mock birthday flag (#4488) --- src/components/common/profile/UserBirthday.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/common/profile/UserBirthday.tsx b/src/components/common/profile/UserBirthday.tsx index e8ada379c..77a52b021 100644 --- a/src/components/common/profile/UserBirthday.tsx +++ b/src/components/common/profile/UserBirthday.tsx @@ -79,7 +79,7 @@ const UserBirthday = ({ const isBirthdayToday = date.getDate() === today.getDate() && date.getMonth() === today.getMonth(); return { formattedDate: formatted, - isToday: isBirthdayToday || true, // TODO REMOVE AFTER TESTING + isToday: isBirthdayToday, age: birthday.year && getAge(date), }; }, [birthday, lang]);