From fc5615eff67015d9619979871e428184b3124963 Mon Sep 17 00:00:00 2001 From: Michel Heusschen <59014050+michelheusschen@users.noreply.github.com> Date: Mon, 27 May 2024 09:01:33 +0200 Subject: [PATCH] fix(web): memories year missing (#9787) --- web/src/lib/utils.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/src/lib/utils.ts b/web/src/lib/utils.ts index 358f4467d4024..d2aa26b35c607 100644 --- a/web/src/lib/utils.ts +++ b/web/src/lib/utils.ts @@ -291,4 +291,4 @@ export const handlePromiseError = (promise: Promise): void => { export const s = (count: number) => (count === 1 ? '' : 's'); -export const memoryLaneTitle = (yearsAgo: number) => `year${s(yearsAgo)} ago`; +export const memoryLaneTitle = (yearsAgo: number) => `${yearsAgo} year${s(yearsAgo)} ago`;