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:
parent
d7c7abdda3
commit
4af826000d
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user