"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...