11 lines
378 B
TypeScript
11 lines
378 B
TypeScript
import { connection } from "next/server";
|
|
import { AccountPage } from "@/components/auth/account-page";
|
|
|
|
export const instant = false;
|
|
|
|
export default async function RegisterPage({ searchParams }: PageProps<"/auth/register">) {
|
|
await connection();
|
|
const { next, step } = await searchParams;
|
|
return <AccountPage mode="register" next={next} setup={step === "profile"} />;
|
|
}
|