From 998239cfa5aa88926db5b824c2e6058e55ca8d7a Mon Sep 17 00:00:00 2001 From: brave-builds Date: Mon, 4 Nov 2024 18:29:01 +0000 Subject: [PATCH] Uplift of #26336 (squashed) to release --- components/common/useRelativeTime.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/common/useRelativeTime.ts b/components/common/useRelativeTime.ts index 431093b609b2..890352053cc7 100644 --- a/components/common/useRelativeTime.ts +++ b/components/common/useRelativeTime.ts @@ -31,7 +31,7 @@ export const getRelativeTime = (time: Date | number) => { const amount = Math.floor(diff / duration) return { formatted: rtf.format(amount, unit ), - updatesIn: duration - (Math.abs(diff - amount)), + updatesIn: 10 * minute, } }