add referal code for registration
This commit is contained in:
@@ -137,6 +137,7 @@ export type FormState = {
|
||||
phone: string;
|
||||
companyName?: string;
|
||||
agree: string;
|
||||
referralCode?: string
|
||||
},
|
||||
mailConfirm?: boolean,
|
||||
error: Record<string, string> | null
|
||||
@@ -155,6 +156,7 @@ export async function registration(
|
||||
const phone = formData.get('phone') as string || '';
|
||||
const companyName = formData.get('companyName') as string || '';
|
||||
const agree = formData.get('agree') as string || '';
|
||||
const referralCode = formData.get('referralCode');
|
||||
|
||||
const SignupFormSchema = await getSignupFormSchema(accountType);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user