import { SystemInfoService } from '@/services/core/system-info';
import { SettingsIndexPageClient } from '@/components/settings/SettingsIndexPageClient';

// Force dynamic rendering (no static generation)
export const dynamic = 'force-dynamic';

export default async function SettingsPage() {
  // Fetch data in parallel for better performance
  const systemInfo = await SystemInfoService.getSystemInfo();

  return <SettingsIndexPageClient initialSystemInfo={systemInfo} />;
}
