Skip to content

Commit

Permalink
[autofix.ci] apply automated fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
autofix-ci[bot] authored Dec 23, 2024
1 parent cf1f6ea commit 440d7a9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/starlight-blog/libs/readingTime.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,6 @@ export function formatReadingTime(readingTime: number): string {
return readingTime < 60
? `${readingTime} min`
: readingTime % 60 === 0
? `${readingTime / 60} h`
: `${Math.floor(readingTime / 60)}h ${readingTime % 60}min`
? `${readingTime / 60} h`
: `${Math.floor(readingTime / 60)}h ${readingTime % 60}min`
}

0 comments on commit 440d7a9

Please sign in to comment.