Assign self to staff list #489
Annotations
13 errors and 5 warnings
type-check:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L85
'para' is possibly 'undefined'.
|
type-check:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L85
Property 'para_id' does not exist on type '{ user_id: string; first_name: string; last_name: string; role: string; email: string; email_verified_at: Date | null; image_url: string | null; }'.
|
type-check:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L88
'para' is possibly 'undefined'.
|
type-check:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L88
Property 'para_id' does not exist on type '{ user_id: string; first_name: string; last_name: string; role: string; email: string; email_verified_at: Date | null; image_url: string | null; }'.
|
type-check:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L95
'para' is possibly 'undefined'.
|
type-check:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L95
Property 'para_id' does not exist on type '{ user_id: string; first_name: string; last_name: string; role: string; email: string; email_verified_at: Date | null; image_url: string | null; }'.
|
type-check:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L99
'para' is possibly 'undefined'.
|
type-check:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L99
'para' is possibly 'undefined'.
|
type-check
Process completed with exit code 2.
|
lint:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L85
Unsafe assignment of an `any` value
|
lint:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L88
Unsafe argument of type `any` assigned to a parameter of type `string`
|
lint:
src/components/subgoal/Subgoal-Assignment-Modal.tsx#L95
Unsafe argument of type `any` assigned to a parameter of type `string`
|
lint
Process completed with exit code 1.
|
type-check
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
test
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
lint:
src/components/uploadPicture/uploadImage.tsx#L120
Using `<img>` could result in slower LCP and higher bandwidth. Use `<Image />` from `next/image` instead to utilize Image Optimization. See: https://nextjs.org/docs/messages/no-img-element
|
lint:
src/components/uploadedFile/uploadedFile.tsx#L26
Using `<img>` could result in slower LCP and higher bandwidth. Use `<Image />` from `next/image` instead to utilize Image Optimization. See: https://nextjs.org/docs/messages/no-img-element
|