Files
mrp-qrcode/app/login/operator/page.tsx
T
jason fc5bce4868
Build and Push Docker Image / build (push) Successful in 1m6s
stage 4
2026-04-21 09:29:44 -05:00

23 lines
673 B
TypeScript

import { Suspense } from "react";
import OperatorLoginClient from "./OperatorLoginClient";
/**
* Server-component shell that wraps the client login form in a Suspense
* boundary. The client uses useSearchParams() to read ?next=<path>; Next.js
* requires that to live inside Suspense so the CSR bailout doesn't fail the
* prerender during `next build`.
*/
export default function OperatorLoginPage() {
return (
<Suspense
fallback={
<main className="min-h-dvh flex items-center justify-center p-6 bg-slate-50">
<p className="text-slate-500">Loading</p>
</main>
}
>
<OperatorLoginClient />
</Suspense>
);
}