diff --git a/src/components/FloatingKeywords.jsx b/src/components/FloatingKeywords.jsx index 8504997..c6e38fe 100644 --- a/src/components/FloatingKeywords.jsx +++ b/src/components/FloatingKeywords.jsx @@ -39,7 +39,7 @@ export default function FloatingKeywords() {
{KEYWORDS.map((kw, i) => ( { const children = Array.isArray(title.props?.children) ? title.props.children - : [title]; + : [title.props?.children ?? title]; const lines = []; let current = []; children.forEach((child, i) => { diff --git a/src/pages/solution/IbePage.jsx b/src/pages/solution/IbePage.jsx index 98c8af6..7d4dce6 100644 --- a/src/pages/solution/IbePage.jsx +++ b/src/pages/solution/IbePage.jsx @@ -1,6 +1,6 @@ import useFadeIn from "../../hooks/useFadeIn"; import SubHero from "../../components/SubHero"; -import { useRef } from "react"; +import { Fragment, useRef } from "react"; import { motion, useInView } from "framer-motion"; import { Search, Armchair, CalendarClock, Wallet, Ticket } from "lucide-react"; @@ -173,13 +173,16 @@ function IbePage() { ].map((item, i) => { const Icon = item.icon; return ( - <> +
)} - +
); })}