'use client'; import { memo } from 'react'; import Link from 'next/link'; import { Button } from '@/components/ui/button'; import { cn } from '@/lib/utils'; interface VideoPageErrorProps { containerHeight: string; error: string; mode: 'dashboard' | 'watch'; projectId?: string; } export const VideoPageError = memo(function VideoPageError({ containerHeight, error, mode, projectId, }: VideoPageErrorProps) { return (

{error || 'Video not found'}

); });