Add Registration Page #415
Annotations
10 errors and 4 warnings
Typecheck:
src/views/Register/index.tsx#L1
'useCallback' is declared but its value is never read.
|
Typecheck:
src/views/Register/index.tsx#L13
'isValidEmail' is declared but its value is never read.
|
Typecheck:
src/views/Register/index.tsx#L215
Type '(...entries: EntriesAsList<defaultFormValue>) => void' is not assignable to type '(value: string | undefined, name: "first_name", e?: FormEvent<HTMLInputElement> | undefined) => void'.
|
Typecheck:
src/views/Register/index.tsx#L216
Type 'LiteralSchema<string, defaultFormValue, undefined>' is not assignable to type 'ReactNode'.
|
Typecheck:
src/views/Register/index.tsx#L223
Type '(...entries: EntriesAsList<defaultFormValue>) => void' is not assignable to type '(value: string | undefined, name: "last_name", e?: FormEvent<HTMLInputElement> | undefined) => void'.
|
Typecheck:
src/views/Register/index.tsx#L224
Type 'LiteralSchema<string, defaultFormValue, undefined>' is not assignable to type 'ReactNode'.
|
Typecheck:
src/views/Register/index.tsx#L232
Type '(...entries: EntriesAsList<defaultFormValue>) => void' is not assignable to type '(value: string | undefined, name: "email", e?: FormEvent<HTMLInputElement> | undefined) => void'.
|
Typecheck:
src/views/Register/index.tsx#L233
Type 'LiteralSchema<string, defaultFormValue, undefined>' is not assignable to type 'ReactNode'.
|
Typecheck:
src/views/Register/index.tsx#L241
Type '(...entries: EntriesAsList<defaultFormValue>) => void' is not assignable to type '(value: string | undefined, name: "password", e?: FormEvent<HTMLInputElement> | undefined) => void'.
|
Typecheck:
src/views/Register/index.tsx#L242
Type 'LiteralSchema<string, defaultFormValue, undefined>' is not assignable to type 'ReactNode'.
|
Lint JS:
src/views/Register/index.tsx#L1
Imports must be broken into multiple lines if there are more than 1 elements
|
Lint JS:
src/views/Register/index.tsx#L1
'useCallback' is defined but never used
|
Lint JS:
src/views/Register/index.tsx#L8
Imports must not be broken into multiple lines if there are 1 or less elements
|
Lint JS:
src/views/Register/index.tsx#L13
'isValidEmail' is defined but never used
|