feat: improve instantiation of intl

This commit is contained in:
Michael Zetterberg
2025-04-07 07:33:28 +02:00
parent f31b374370
commit 7c82a565ae
11 changed files with 95 additions and 65 deletions

View File

@@ -19,7 +19,7 @@ export const getPrimaryLinks = cache(
lang: Lang
memberships: Membership[]
}): Promise<MyPagesLink[]> => {
const intl = await getIntl(lang)
const intl = await getIntl()
const showSASLink = isScandicXSASActive(memberships)
const [showTeamMemberLink] = await safeTry(showTeamMemberCard())