diff --git a/app/(auth)/register/page.tsx b/app/(auth)/register/page.tsx index 1b61ff0..1151562 100644 --- a/app/(auth)/register/page.tsx +++ b/app/(auth)/register/page.tsx @@ -34,7 +34,7 @@ export default function RegisterPage() { Enter your email below to create your account

- +

By clicking continue, you agree to our{" "} {} +interface UserAuthFormProps extends React.HTMLAttributes { + option?: string +} type FormData = z.infer -export function UserAuthForm({ className, ...props }: UserAuthFormProps) { +export function UserAuthForm({ + className, + option, + ...props +}: UserAuthFormProps) { const { register, handleSubmit, @@ -84,7 +90,9 @@ export function UserAuthForm({ className, ...props }: UserAuthFormProps) { {isLoading && ( )} - Sign In with Email + {option === "register" + ? "Sign Up with Email" + : "Sign In with Email"}