diff --git a/apps/scandic-web/components/Blocks/Accordion/index.tsx b/apps/scandic-web/components/Blocks/Accordion/index.tsx index 8a26314cb..7c38c45b9 100644 --- a/apps/scandic-web/components/Blocks/Accordion/index.tsx +++ b/apps/scandic-web/components/Blocks/Accordion/index.tsx @@ -13,7 +13,6 @@ import styles from "./accordion.module.css" import type { AccordionProps } from "@/types/components/blocks/Accordion" import { HotelHashValues } from "@/types/components/hotelPage/tabNavigation" -import type { RTENode } from "@/types/transitionTypes/rte/node" export default function AccordionSection({ accordion, title }: AccordionProps) { const showToggleButton = accordion.length > 5 @@ -34,15 +33,10 @@ export default function AccordionSection({ accordion, title }: AccordionProps) { > {accordion.map((acc) => ( - {acc.answer.json.children.map( - (child: { children: RTENode[] }, idx: number) => ( - - ) - )} + ))}