Add Registration Page #428
Annotations
7 errors and 1 warning
Typecheck:
src/views/Register/index.tsx#L14
'getErrorObject' is declared but its value is never read.
|
Typecheck:
src/views/Register/index.tsx#L228
Type '(option: { id: string; society_name: string;}) => string' is not assignable to type '(option: { id: string; key: string; value: string; }) => string'.
|
Typecheck:
src/views/Register/index.tsx#L229
Type '(option: { id: string; society_name: string;}) => string' is not assignable to type '(option: { id: string; key: string; value: string; }) => string'.
|
Typecheck:
src/views/Register/index.tsx#L238
Type '(option: { id: string; society_name: string;}) => string' is not assignable to type '(option: object) => OptionKey'.
|
Typecheck:
src/views/Register/index.tsx#L239
Type '(option: { id: string; society_name: string;}) => string' is not assignable to type '(option: object) => string'.
|
Typecheck:
src/views/Register/index.tsx#L240
Type '(...entries: EntriesAsList<Partial<DefaultFormValue>>) => void' is not assignable to type '((newValue: OptionKey, name: "email" | "country" | "first_name" | "last_name" | "password" | "confirm_password" | "city" | "organization" | "organization_type", value: object) => void) | ((newValue: OptionKey | undefined, name: "email" | ... 7 more ... | "organization_type", value: object | undefined) => void)'.
|
Typecheck
Process completed with exit code 2.
|
Lint JS:
src/views/Register/index.tsx#L14
'getErrorObject' is defined but never used
|