From 440d7a9f81bdfb1e8bb0aa7397a94e027a029be2 Mon Sep 17 00:00:00 2001 From: "autofix-ci[bot]" <114827586+autofix-ci[bot]@users.noreply.github.com> Date: Mon, 23 Dec 2024 11:12:17 +0000 Subject: [PATCH] [autofix.ci] apply automated fixes --- packages/starlight-blog/libs/readingTime.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/starlight-blog/libs/readingTime.ts b/packages/starlight-blog/libs/readingTime.ts index b2e4ffe..12b5126 100644 --- a/packages/starlight-blog/libs/readingTime.ts +++ b/packages/starlight-blog/libs/readingTime.ts @@ -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` }