"use client" import React, { Suspense, lazy } from "react"; import { Button } from "@/components/ui/button"; import { Input } from "@/components/ui/input"; import { Label } from "@/components/ui/label"; // Use lazy loading for the form component const LoginForm = lazy(() => import('./components/LoginForm')); // Simple loading state for the Suspense boundary function LoginLoading() { return (

Loading login form...

); } // Main page component that uses Suspense export default function LoginPage() { return ( }> ); }