From 1e1bfafb88ef199c144383381043039042d57f5c Mon Sep 17 00:00:00 2001 From: icarus Date: Mon, 13 Oct 2025 13:44:56 +0800 Subject: [PATCH] refactor(video): rename VideoProps to VideoViewerProps for clarity --- src/renderer/src/pages/video/VideoViewer.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/renderer/src/pages/video/VideoViewer.tsx b/src/renderer/src/pages/video/VideoViewer.tsx index 86fe06de88..b9a5047aab 100644 --- a/src/renderer/src/pages/video/VideoViewer.tsx +++ b/src/renderer/src/pages/video/VideoViewer.tsx @@ -14,11 +14,11 @@ import { CheckCircleIcon, CircleXIcon } from 'lucide-react' import { useState } from 'react' import { useTranslation } from 'react-i18next' -export interface VideoProps { +export interface VideoViewerProps { video?: Video } -export const VideoViewer = ({ video }: VideoProps) => { +export const VideoViewer = ({ video }: VideoViewerProps) => { const { t } = useTranslation() const [loadSuccess, setLoadSuccess] = useState(undefined) const { isOpen, onOpen, onClose } = useDisclosure()