Skip to content

Add Registration Page #428

Add Registration Page

Add Registration Page #428

Triggered via pull request November 8, 2024 06:39
Status Failure
Total duration 50s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

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