diff --git a/libs/remix-ui/git/src/components/panels/commits/commitsummary.tsx b/libs/remix-ui/git/src/components/panels/commits/commitsummary.tsx index 31a36a3f6a..7e0ca19192 100644 --- a/libs/remix-ui/git/src/components/panels/commits/commitsummary.tsx +++ b/libs/remix-ui/git/src/components/panels/commits/commitsummary.tsx @@ -28,10 +28,10 @@ export const CommitSummary = (props: CommitSummaryProps) => { return "today at " + dateFormat(timestamp * 1000, "HH:MM"); } else - if (diff < 1) { - // return how many hours ago - return `${Math.floor(diff * 24)} hour(s) ago`; - } + if (diff < 1) { + // return how many hours ago + return `${Math.floor(diff * 24)} hour(s) ago`; + } if (diff < 7) { // return how many days ago