diff --git a/src/components/media/PopupModal.tsx b/src/components/media/PopupModal.tsx index 5ec8f9cc..e6693370 100644 --- a/src/components/media/PopupModal.tsx +++ b/src/components/media/PopupModal.tsx @@ -37,6 +37,7 @@ function formatRuntime(runtime: number) { export function PopupModal({ isVisible, onClose, + // eslint-disable-next-line @typescript-eslint/no-unused-vars playingTitle, media, }: PopupModalProps) { @@ -48,6 +49,8 @@ export function PopupModal({ const [data, setData] = useState(null); const [mediaInfo, setMediaInfo] = useState(null); const [error, setError] = useState(null); + // eslint-disable-next-line @typescript-eslint/no-unused-vars + const [menuOpen, setMenuOpen] = useState(false); // Added definition for menuOpen const navigate = useNavigate(); useEffect(() => { @@ -149,7 +152,7 @@ export function PopupModal({ return (
)) - : Array.from({ length: 3 }).map((_) => ( -
+ : Array.from({ length: 3 }).map((_, i) => ( + // eslint-disable-next-line react/no-array-index-key +
))}