diff --git a/fittrackee_client/src/components/Dashboard/ActivityCard.jsx b/fittrackee_client/src/components/Dashboard/ActivityCard.jsx index 07986873..1569cdd7 100644 --- a/fittrackee_client/src/components/Dashboard/ActivityCard.jsx +++ b/fittrackee_client/src/components/Dashboard/ActivityCard.jsx @@ -27,9 +27,7 @@ export default function ActivityCard(props) {
Email: {user.email}
-- Registration Date:{' '} - {format(new Date(user.created_at), 'dd/MM/yyyy HH:mm')} -
+Registration Date: {createdAt}
First Name: {user.first_name}
Last Name: {user.last_name}
-- Birth Date:{' '} - {user.birth_date - ? format(new Date(user.birth_date), 'dd/MM/yyyy') - : ''} -
+Birth Date: {birthDate}
Location: {user.location}
Bio: {user.bio}
Time zone: {user.timezone}