diff --git a/web/src/components/LandingPage.tsx b/web/src/components/LandingPage.tsx index c715b63a..9f197521 100644 --- a/web/src/components/LandingPage.tsx +++ b/web/src/components/LandingPage.tsx @@ -500,15 +500,16 @@ export function LandingPage() { > diff --git a/web/src/components/Typewriter.tsx b/web/src/components/Typewriter.tsx index f06895fa..3d1ff93f 100644 --- a/web/src/components/Typewriter.tsx +++ b/web/src/components/Typewriter.tsx @@ -62,9 +62,11 @@ export default function Typewriter({ } }, [lines, typingSpeed, lineDelay]) + const displayText = useMemo(() => typedLines.join('\n').replace(/undefined/g, ''), [typedLines]) + return (
-      {typedLines.join('\n')}
+      {displayText}
       
     
)