diff --git a/client/pages/Onboarding.tsx b/client/pages/Onboarding.tsx index 868add57..57745f60 100644 --- a/client/pages/Onboarding.tsx +++ b/client/pages/Onboarding.tsx @@ -315,34 +315,20 @@ export default function Onboarding() { {/* Floating particles effect (performance-friendly) */} - {(() => { - const particles = useMemo( - () => - Array.from({ length: 8 }).map(() => ({ - left: `${Math.floor(Math.random() * 100)}%`, - top: `${Math.floor(Math.random() * 100)}%`, - delay: `${Math.random().toFixed(2)}s`, - duration: `${3 + Math.floor(Math.random() * 2)}s`, - })), - [], - ); - return ( -
- {particles.map((p, i) => ( -
- ))} -
- ); - })()} +
+ {particles.map((p, i) => ( +
+ ))} +