fix: links issues, translations and layouts
This commit is contained in:
@@ -23,7 +23,7 @@ function DynamicComponent({ component, props }: AccountPageContentProps) {
|
||||
return (
|
||||
<Overview
|
||||
lang={props.lang}
|
||||
link={undefined}
|
||||
link={props.link}
|
||||
subtitle={null}
|
||||
title={props.title}
|
||||
/>
|
||||
@@ -56,7 +56,11 @@ export default function Content({ lang, content }: ContentProps) {
|
||||
href:
|
||||
item.dynamic_content.link.linkConnection.edges[0].node
|
||||
.original_url ||
|
||||
`/${lang}/webview${item.dynamic_content.link.linkConnection.edges[0].node.url}`,
|
||||
modWebviewLink(
|
||||
item.dynamic_content.link.linkConnection.edges[0].node
|
||||
.url,
|
||||
lang
|
||||
),
|
||||
text: item.dynamic_content.link.link_text,
|
||||
}
|
||||
: null
|
||||
|
||||
Reference in New Issue
Block a user