From 7096a2c50489ba13bb4b9a43502231e668b2508f Mon Sep 17 00:00:00 2001 From: ner Date: Sun, 13 Oct 2024 01:50:13 +0300 Subject: [PATCH] fix: wrong props --- .../Show/components/Torrents/components/Player/index.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/components/Show/components/Torrents/components/Player/index.tsx b/components/Show/components/Torrents/components/Player/index.tsx index 36c87d5..617264d 100644 --- a/components/Show/components/Torrents/components/Player/index.tsx +++ b/components/Show/components/Torrents/components/Player/index.tsx @@ -19,11 +19,9 @@ import '@vidstack/react/player/styles/default/layouts/video.css'; interface Props extends InstanceProps { magnet: string; backdrop: string; - className?: string; - onClose: () => void; } -const showPlayer = create(({ onResolve, magnet, backdrop, className }: Props) => { +const showPlayer = create(({ onResolve, magnet, backdrop }: Props) => { const [index, setIndex] = useState(0); const player = useRef(null);