diff --git a/src/components/home/HeroSection.tsx b/src/components/home/HeroSection.tsx index 0c89f3f..d5581c5 100644 --- a/src/components/home/HeroSection.tsx +++ b/src/components/home/HeroSection.tsx @@ -5,6 +5,7 @@ import Image from "next/image"; import { useState } from "react"; import { ImageOff } from "lucide-react"; import { cn } from "@/lib/utils"; +import { ImageLoader } from "@/components/ui/image-loader"; interface HeroSectionProps { series: KomgaSeries[]; @@ -47,23 +48,28 @@ interface CoverImageProps { function CoverImage({ series }: CoverImageProps) { const [imageError, setImageError] = useState(false); + const [imageLoading, setImageLoading] = useState(true); return (