create updateUserEmail util
This commit is contained in:
@@ -11,7 +11,7 @@ interface NotificationCardProps {
|
|||||||
function NotificationCard({ notifications, deleteNotification }: NotificationCardProps) {
|
function NotificationCard({ notifications, deleteNotification }: NotificationCardProps) {
|
||||||
return (
|
return (
|
||||||
notifications.map((notification, index) => (
|
notifications.map((notification, index) => (
|
||||||
<div className={`${styles.notificationCard} glassBorder`}key={index}>
|
<div className={`${styles.notificationCard} glassBorder`} key={index}>
|
||||||
<div className={styles.cardHeader}>
|
<div className={styles.cardHeader}>
|
||||||
<span className={styles.timeTag}>
|
<span className={styles.timeTag}>
|
||||||
Le {formatDate(notification.created_at)} à {formatTime(notification.created_at)}
|
Le {formatDate(notification.created_at)} à {formatTime(notification.created_at)}
|
||||||
|
|||||||
Reference in New Issue
Block a user