mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-07 22:10:21 +08:00
refactor(video): remove unused useVideos hook import
This commit is contained in:
parent
8a45fe70d0
commit
258666e382
@ -1,5 +1,4 @@
|
|||||||
import { cn, Progress, Spinner } from '@heroui/react'
|
import { cn, Progress, Spinner } from '@heroui/react'
|
||||||
import { useVideos } from '@renderer/hooks/video/useVideos'
|
|
||||||
import { Video } from '@renderer/types'
|
import { Video } from '@renderer/types'
|
||||||
import { CheckCircleIcon, CircleXIcon, ClockIcon, DownloadIcon, PlusIcon } from 'lucide-react'
|
import { CheckCircleIcon, CircleXIcon, ClockIcon, DownloadIcon, PlusIcon } from 'lucide-react'
|
||||||
import { useTranslation } from 'react-i18next'
|
import { useTranslation } from 'react-i18next'
|
||||||
@ -11,7 +10,6 @@ export type VideoListProps = {
|
|||||||
}
|
}
|
||||||
|
|
||||||
export const VideoList = ({ videos, activeVideoId, setActiveVideoId }: VideoListProps) => {
|
export const VideoList = ({ videos, activeVideoId, setActiveVideoId }: VideoListProps) => {
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<div className="w-40 space-y-3 overflow-auto p-2">
|
<div className="w-40 space-y-3 overflow-auto p-2">
|
||||||
<div
|
<div
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user