fix: align typings with loyalty-page branch
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import JsonToHtml from "@/components/JsonToHtml"
|
||||
import { renderOptions } from "@/components/JsonToHtml/renderOptions"
|
||||
import CurrentBenefitsBlock from "@/components/MyPages/Blocks/Benefits/CurrentLevel"
|
||||
import NextLevelBenefitsBlock from "@/components/MyPages/Blocks/Benefits/NextLevel"
|
||||
import Overview from "@/components/MyPages/Blocks/Overview"
|
||||
@@ -83,9 +82,10 @@ export default function Content({ lang, content }: ContentProps) {
|
||||
return (
|
||||
<section>
|
||||
<JsonToHtml
|
||||
embeds={[]}
|
||||
embeds={
|
||||
item.text_content.content.embedded_itemsConnection.edges
|
||||
}
|
||||
nodes={item.text_content.content.json.children}
|
||||
renderOptions={renderOptions}
|
||||
/>
|
||||
</section>
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user