Progress Report Media #3130
Annotations
3 errors and 10 warnings
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L13
Do not use "@ts-ignore" because it alters compilation errors
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaStep.tsx#L46
Promise-returning function provided to property where a void return was expected
|
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L8
'minLength' is defined but never used. Allowed unused vars must match /^_/u
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L8
'required' is defined but never used. Allowed unused vars must match /^_/u
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L9
`react` import should occur before import of `~/api/schema/enumLists`
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L10
`~/api/schema.graphql` import should occur before import of `~/api/schema/enumLists`
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L26
'setCategory' is assigned a value but never used. Allowed unused vars must match /^_/u
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L27
'caption' is assigned a value but never used. Allowed unused vars must match /^_/u
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L27
'setCaption' is assigned a value but never used. Allowed unused vars must match /^_/u
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L28
'updateMedia' is assigned a value but never used. Allowed unused vars must match /^_/u
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L30
React Hook useCallback has a missing dependency: 'submitForm'. Either include it or remove the dependency array. If 'submitForm' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
src/scenes/ProgressReports/EditForm/Steps/Media/MediaInfoForm.tsx#L53
Unnecessary optional chain on a non-nullish value
|
The logs for this run have expired and are no longer available.
Loading