diff --git a/src/components/DemoCard.tsx b/src/components/DemoCard.tsx index be4b6db..26ae4d3 100644 --- a/src/components/DemoCard.tsx +++ b/src/components/DemoCard.tsx @@ -1,7 +1,7 @@ import { Link as LinkIcon, Search } from 'lucide-react'; import Image from 'next/image'; import { useRouter } from 'next/navigation'; -import React, { useState } from 'react'; +import React from 'react'; interface DemoCardProps { id: string; @@ -45,7 +45,6 @@ function SearchCircle({ } const DemoCard = ({ id, title, poster, rate, type }: DemoCardProps) => { - const [hover, setHover] = useState(false); const router = useRouter(); const handleClick = () => { @@ -58,7 +57,7 @@ const DemoCard = ({ id, title, poster, rate, type }: DemoCardProps) => { onClick={handleClick} > {/* 海报图片区域 */} -