We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3694754 commit 998239cCopy full SHA for 998239c
components/common/useRelativeTime.ts
@@ -31,7 +31,7 @@ export const getRelativeTime = (time: Date | number) => {
31
const amount = Math.floor(diff / duration)
32
return {
33
formatted: rtf.format(amount, unit ),
34
- updatesIn: duration - (Math.abs(diff - amount)),
+ updatesIn: 10 * minute,
35
}
36
37
0 commit comments