Merged in fix/my-pages-menu-not-translated (pull request #2045)
fix: my pages menu not translated * fix: my pages menu not translated fix: able to pass lang to getIntl() Approved-by: Michael Zetterberg
This commit is contained in:
@@ -10,7 +10,7 @@ export async function getSecondaryLinks({
|
||||
}: {
|
||||
lang: Lang
|
||||
}): Promise<MyPagesLink[]> {
|
||||
const intl = await getIntl()
|
||||
const intl = await getIntl({ lang })
|
||||
const menuItems: MyPagesLink[] = [
|
||||
{
|
||||
type: "link",
|
||||
|
||||
Reference in New Issue
Block a user