diff --git a/components/MyPages/AccountPage/Content.tsx b/components/MyPages/AccountPage/Content.tsx index eac63803e..b091a59ed 100644 --- a/components/MyPages/AccountPage/Content.tsx +++ b/components/MyPages/AccountPage/Content.tsx @@ -1,21 +1,22 @@ -import CurrentBenefitsBlock from "@/components/MyPages/Blocks/Benefits/CurrentLevel" 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" import Shortcuts from "@/components/MyPages/Blocks/Shortcuts" -import UpcomingStays from "@/components/MyPages/Blocks/Stays/Upcoming" import SoonestStays from "@/components/MyPages/Blocks/Stays/Soonest" -import { renderOptions } from "@/components/JsonToHtml/renderOptions" +import UpcomingStays from "@/components/MyPages/Blocks/Stays/Upcoming" + import PreviousStays from "../Blocks/Stays/Previous" -import { - ContentEntries, - DynamicContentComponents, -} from "@/types/requests/myPages/accountpage" import { AccountPageContentProps, ContentProps, } from "@/types/components/myPages/myPage/accountPage" +import { + ContentEntries, + DynamicContentComponents, +} from "@/types/requests/myPages/accountpage" function DynamicComponent({ user, component, props }: AccountPageContentProps) { switch (component) { @@ -77,11 +78,13 @@ export default function Content({ user, lang, content }: ContentProps) { ) case ContentEntries.AccountPageContentTextContent: return ( - +
+ +
) default: return null