diff --git a/src/components/item.tsx b/src/components/item.tsx index e561efa..ef889be 100644 --- a/src/components/item.tsx +++ b/src/components/item.tsx @@ -47,7 +47,7 @@ function ItemCard({ children, progress, onCancel }: { children: React.ReactNode, function ItemCover({ src, alt, index, className, onClick }: { index?: number, src: string; alt: string, className?: string, onClick?: () => void }) { const imgRef = useRef(null); const [isError, setIsError] = useState(false); - + return (<>{src}) return (
{ if (!isError && onClick) {