mirror of
https://github.com/Unleash/unleash.git
synced 2025-05-03 01:18:43 +02: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>
|
</StyledUserContainer>
|
||||||
|
|
||||||
<StyledTimeAgoTypography>
|
<StyledTimeAgoTypography>
|
||||||
<TimeAgo date={new Date(notification.createdAt)} />
|
<TimeAgo
|
||||||
|
date={new Date(notification.createdAt)}
|
||||||
|
minPeriod={60}
|
||||||
|
/>
|
||||||
</StyledTimeAgoTypography>
|
</StyledTimeAgoTypography>
|
||||||
</StyledSecondaryInfoBox>
|
</StyledSecondaryInfoBox>
|
||||||
</StyledNotificationMessageBox>
|
</StyledNotificationMessageBox>
|
||||||
|
Loading…
Reference in New Issue
Block a user