Closed punchdrunkard closed 10 months ago
컴포넌트 사용시 다음과 같이 사용하면 됨
export default function Home() { const { data, isLoading } = useLatestLocationPhoto(); return ( <> {isLoading && ( <div className="animate-pulse bg-gray-400 w-[190px] h-[190px] animate-pulse rounded-lg"></div> )} {!isLoading && data && <LocationPhoto photo={data} />} </> ); }
close #81
The latest updates on your projects. Learn more about Vercel for Git ↗︎
요약
작업 내용
기타 (논의하고 싶은 부분)
컴포넌트 사용시 다음과 같이 사용하면 됨
close #81