diff --git a/client/src/components/bunny-video-modal.tsx b/client/src/components/bunny-video-modal.tsx index 7e3dec4..e7fa984 100644 --- a/client/src/components/bunny-video-modal.tsx +++ b/client/src/components/bunny-video-modal.tsx @@ -53,6 +53,11 @@ function formatDate(date: Date | string): string { export default function BunnyVideoModal({ video, isOpen, onClose, onEdit, videos = [], onVideoChange }: BunnyVideoModalProps) { const [showShareMenu, setShowShareMenu] = useState(false); + + // Debug log + useEffect(() => { + console.log('Modal state:', { isOpen, video: video?.title || 'none' }); + }, [isOpen, video]); // Navigation functions const getCurrentVideoIndex = () => {