File size: 411 Bytes
c3ce3c5 | 1 2 3 4 5 6 7 8 9 10 11 12 13 | /** Suspense fallback for lazily-loaded routes — holds the frame instead of
* flashing an empty page while a chunk downloads. */
export function RouteFallback() {
return (
<div className="flex min-h-[50vh] items-center justify-center">
<span
aria-label="Loading"
className="h-6 w-6 animate-spin rounded-full border-2 border-white/10 border-t-blue-400"
/>
</div>
);
}
|