import { motion } from 'framer-motion'; import { useEffect } from 'react'; import Image from 'next/image'; interface MissionRevealProps { votes: boolean[]; onFinished?: () => void; } export default function MissionReveal({ votes, onFinished }: MissionRevealProps) { // Timer de seguridad: 5 segundos y avanza useEffect(() => { const timer = setTimeout(() => { if (onFinished) onFinished(); }, 5000); return () => clearTimeout(timer); }, [onFinished]); return (

Resultado de la misión

{votes.map((vote, idx) => ( {vote ))}
Analizando resultado estratégico...
); }