Keep the public gallery hero/masonry geometry stable across route and client loading, and show busy state while photos download. Co-authored-by: Cursor <cursoragent@cursor.com>
8 lines
275 B
TypeScript
8 lines
275 B
TypeScript
import GallerySkeleton from '@/components/gallery/GallerySkeleton';
|
|
|
|
// Shown while the server component fetches the gallery, so the first paint is
|
|
// already the gallery's layout rather than an empty page.
|
|
export default function Loading() {
|
|
return <GallerySkeleton />;
|
|
}
|