Profile: Remove the mock birthday flag (#4488)

This commit is contained in:
Alexander Zinchuk 2024-04-19 13:49:19 +04:00
parent 34a3b62089
commit 3aa9f409fc

View File

@ -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]);