diff --git a/src/components/WebsiteLoader/WebsiteLoader.tsx b/src/components/WebsiteLoader/WebsiteLoader.tsx index 3dbf5fc..a3ff70f 100644 --- a/src/components/WebsiteLoader/WebsiteLoader.tsx +++ b/src/components/WebsiteLoader/WebsiteLoader.tsx @@ -2,6 +2,8 @@ import React, { useEffect, useRef, useState } from 'react'; import { AnimatePresence, motion } from 'framer-motion'; import { useTranslation } from 'react-i18next'; +const SafeAnimatePresence = AnimatePresence as any; + interface WebsiteLoaderProps { onComplete?: () => void; } @@ -426,7 +428,7 @@ export const WebsiteLoader = ({ onComplete }: WebsiteLoaderProps) => { {/* Dynamic cycling subtitle */}