Profile: Remove the mock birthday flag (#4488)
This commit is contained in:
parent
34a3b62089
commit
3aa9f409fc
@ -79,7 +79,7 @@ const UserBirthday = ({
|
|||||||
const isBirthdayToday = date.getDate() === today.getDate() && date.getMonth() === today.getMonth();
|
const isBirthdayToday = date.getDate() === today.getDate() && date.getMonth() === today.getMonth();
|
||||||
return {
|
return {
|
||||||
formattedDate: formatted,
|
formattedDate: formatted,
|
||||||
isToday: isBirthdayToday || true, // TODO REMOVE AFTER TESTING
|
isToday: isBirthdayToday,
|
||||||
age: birthday.year && getAge(date),
|
age: birthday.year && getAge(date),
|
||||||
};
|
};
|
||||||
}, [birthday, lang]);
|
}, [birthday, lang]);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user