mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-02 06:56:36 +08:00
24 lines
558 B
TypeScript
24 lines
558 B
TypeScript
import { Suspense } from 'react';
|
|
|
|
import { Skeleton } from '@/components/ui/skeleton';
|
|
|
|
import { ProxyRouteDetailPageClient } from './page-client';
|
|
|
|
function DetailPageFallback() {
|
|
return (
|
|
<div className='py-6 px-1 space-y-6'>
|
|
<Skeleton className='h-8 w-48' />
|
|
<Skeleton className='h-10 w-full max-w-xl' />
|
|
<Skeleton className='h-64 w-full' />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default function ProxyRouteDetailPage() {
|
|
return (
|
|
<Suspense fallback={<DetailPageFallback />}>
|
|
<ProxyRouteDetailPageClient />
|
|
</Suspense>
|
|
);
|
|
}
|