mirror of
https://github.com/Rain-kl/OpenFlare.git
synced 2026-10-07 08:06:37 +08:00
29 lines
728 B
TypeScript
29 lines
728 B
TypeScript
import { Suspense } from 'react';
|
|
import { Cloud } from 'lucide-react';
|
|
|
|
import { LoadingStateWithBorder } from '@/components/layout/loading';
|
|
|
|
import { CloudflareGroupDetailPageClient } from './page-client';
|
|
|
|
/** Placeholder for static export; real ids resolve client-side via useParams. */
|
|
export async function generateStaticParams() {
|
|
return [{ id: '1' }];
|
|
}
|
|
|
|
export default async function CloudflareGroupDetailPage() {
|
|
return (
|
|
<Suspense
|
|
fallback={
|
|
<div className='w-full py-6 px-1'>
|
|
<LoadingStateWithBorder
|
|
icon={Cloud}
|
|
description='加载分组详情中...'
|
|
/>
|
|
</div>
|
|
}
|
|
>
|
|
<CloudflareGroupDetailPageClient />
|
|
</Suspense>
|
|
);
|
|
}
|