mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-04-20 02:41:08 +00:00
Some checks failed
Build and Push Docker Images / Build and Push Docker Images (push) Failing after 1m49s
18 lines
426 B
TypeScript
18 lines
426 B
TypeScript
import SignUpForm from "@/components/auth/signup-form";
|
|
import Image from "next/image";
|
|
import { redirect } from "next/navigation";
|
|
|
|
export default async function SignupPage({
|
|
searchParams,
|
|
}: {
|
|
searchParams: Promise<{ phone_number: string }>;
|
|
}) {
|
|
const phone_number = (await searchParams).phone_number;
|
|
console.log({ phone_number });
|
|
if (!phone_number) {
|
|
return redirect("/auth/login");
|
|
}
|
|
|
|
return <SignUpForm />;
|
|
}
|