Skip to content

Commit 930e077

Browse files
authored
Merge pull request #2 from gradedSystem/refine-recent-actions-display
Refine 'Just now' display in ActivityTimeline
2 parents 0af0a35 + bdf59ce commit 930e077

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/components/ActivityTimeline.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,8 +32,8 @@ import {
3232
const now = new Date();
3333
const diffMs = now.getTime() - date.getTime();
3434

35-
// Handle just now case
36-
if (diffMs < 60000) {
35+
// Show "Just now" for actions within the last 2 minutes
36+
if (diffMs < 120000) {
3737
return "Just now";
3838
}
3939

0 commit comments

Comments
 (0)