mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-09-29 14:06:36 +08:00
29 lines
690 B
TypeScript
29 lines
690 B
TypeScript
import { Suspense } from 'react';
|
|
|
|
import { Skeleton } from '@/components/ui/skeleton';
|
|
|
|
import { NodesPageClient } from './page-client';
|
|
|
|
function NodesPageFallback() {
|
|
return (
|
|
<div className='py-6 px-1 space-y-6'>
|
|
<div className='flex items-center justify-between gap-3'>
|
|
<Skeleton className='h-8 w-40' />
|
|
<div className='flex gap-2'>
|
|
<Skeleton className='h-7 w-20' />
|
|
<Skeleton className='h-7 w-24' />
|
|
</div>
|
|
</div>
|
|
<Skeleton className='h-96 w-full' />
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export default function NodesPage() {
|
|
return (
|
|
<Suspense fallback={<NodesPageFallback />}>
|
|
<NodesPageClient />
|
|
</Suspense>
|
|
);
|
|
}
|