"use client" import { useState } from "react" import Image from "next/image" interface MovingServiceImageProps { src: string alt: string } export function MovingServiceImage({ src, alt }: MovingServiceImageProps) { const [imageError, setImageError] = useState(false) if (imageError) { return (

Image coming soon

{alt}

) } return (
{alt} setImageError(true)} />
) }