@@ -72,6 +72,7 @@ export type Filters = {
|
||||
};
|
||||
|
||||
export type InterestFormData = {
|
||||
declared_origin_country_code?: string;
|
||||
name: string;
|
||||
email: string;
|
||||
phone: string;
|
||||
@@ -195,6 +196,7 @@ export function newSubmissionKey(): string {
|
||||
export function fieldErrors(error: PortalApiError): FormErrors {
|
||||
const result: FormErrors = {};
|
||||
const fields: (keyof InterestFormData)[] = [
|
||||
'declared_origin_country_code',
|
||||
'name',
|
||||
'email',
|
||||
'phone',
|
||||
|
||||
Reference in New Issue
Block a user