Skip to content

Refactor package.json to add @ducanh2912/next-pwa dependency #17

Refactor package.json to add @ducanh2912/next-pwa dependency

Refactor package.json to add @ducanh2912/next-pwa dependency #17

Triggered via push October 13, 2024 07:45
Status Failure
Total duration 49s
Artifacts

ci.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors
build: components/Carousel.tsx#L19
Argument of type 'number' is not assignable to parameter of type 'SetStateAction<null>'.
build: components/Carousel.tsx#L38
Type 'string | undefined' is not assignable to type 'string | StaticImport'.
build: components/Modal.tsx#L27
Cannot invoke an object which is possibly 'undefined'.
build: components/Modal.tsx#L63
Type 'MutableRefObject<undefined>' is not assignable to type 'MutableRefObject<HTMLElement | null>'.
build: components/Modal.tsx#L67
Type 'MutableRefObject<undefined>' is not assignable to type 'Ref<HTMLDivElement> | undefined'.
build: components/SharedModal.tsx#L31
Argument of type 'number' is not assignable to parameter of type 'never'.
build: components/SharedModal.tsx#L36
'images.length' is possibly 'undefined'.
build: components/SharedModal.tsx#L78
'currentImage' is possibly 'undefined'.
build: components/SharedModal.tsx#L79
'currentImage' is possibly 'undefined'.
build: components/SharedModal.tsx#L107
'images' is possibly 'undefined'.