fix(web): memories year missing (#9787)

This commit is contained in:
Michel Heusschen
2024-05-27 09:01:33 +02:00
committed by GitHub
parent 6879bcb7a4
commit fc5615eff6

View File

@@ -291,4 +291,4 @@ export const handlePromiseError = <T>(promise: Promise<T>): 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`;