Skip to content

Commit

Permalink
Removed usage of deprecated properties with latest NodeJS update
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianLeChat committed Apr 1, 2024
1 parent e2fb719 commit c0a1e0c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions app/[locale]/components/notification.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -88,9 +88,7 @@ export default function Notifications()
document.title,
{
icon: icon?.href,
body: notification.title,
timestamp:
notification.createdAt.getTime()
body: notification.title
}
);

Expand Down Expand Up @@ -240,8 +238,7 @@ export default function Notifications()

<p className="text-sm text-muted-foreground">
{modalMessages(
`description_${
notification.message }`
`description_${ notification.message }`
)}
</p>

Expand Down

0 comments on commit c0a1e0c

Please sign in to comment.