1
0
mirror of https://github.com/Unleash/unleash.git synced 2024-12-22 19:07:54 +01:00

feat: do not update every second (#4492)

This commit is contained in:
Mateusz Kwasniewski 2023-08-15 13:35:38 +02:00 committed by GitHub
parent d7c7abdda3
commit 4af826000d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -157,7 +157,10 @@ export const Notification = ({
</StyledUserContainer>
<StyledTimeAgoTypography>
<TimeAgo date={new Date(notification.createdAt)} />
<TimeAgo
date={new Date(notification.createdAt)}
minPeriod={60}
/>
</StyledTimeAgoTypography>
</StyledSecondaryInfoBox>
</StyledNotificationMessageBox>