this repo has no description
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

๐Ÿ’š Fix build

authored by

Gwenn Le Bihan and committed by
GitHub
b943f00f 9087a6a7

+2 -2
+2 -2
src/middleware.ts
··· 21 21 const translation = 22 22 locals.lang === "fr" 23 23 ? await getEntry("frenchMessages", key) 24 - : key 24 + : { data: { msgstr: key }} 25 25 26 26 translatable.removeAttribute("i18n"); 27 27 if (translation) { ··· 36 36 const translation = 37 37 locals.lang === "fr" 38 38 ? await getEntry("frenchMessages", key) 39 - : await getEntry("englishMessages", key); 39 + : undefined 40 40 41 41 translatable.outerHTML = translation?.data.msgstr ?? key; 42 42 }