Skip to content

Implement Multiprocesses components #138

Implement Multiprocesses components

Implement Multiprocesses components #138

Triggered via pull request October 22, 2024 09:37
Status Failure
Total duration 1m 15s
Artifacts

netlify.yaml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

8 errors
build-stg: src/components/Process/Chained.tsx#L105
Type '{ children: Element[]; renderWith: RenderWith[]; confirmContents: (elections: PublishedElection, answers: FieldValues) => Element; }' is not assignable to type 'IntrinsicAttributes & QuestionsFormProviderProps & { children?: ReactNode; }'.
build-stg: src/components/Process/Chained.tsx#L106
Type '{ elections: PublishedElection; answers: FieldValues; }' is not assignable to type 'IntrinsicAttributes & QuestionsConfirmationProps'.
build-stg: src/components/Process/Chained.tsx#L119
Type '{ elections: PublishedElection; answers: FieldValues; }' is not assignable to type 'IntrinsicAttributes & QuestionsConfirmationProps'.
build-stg: src/components/Process/ConfirmVoteModal.tsx#L8
Property 'elections' does not exist on type 'QuestionsConfirmationProps'.
build-stg: src/components/Process/ConfirmVoteModal.tsx#L20
Argument of type '({ election, voted, isAbleToVote }: { election: any; voted: any; isAbleToVote: any; }) => Element' is not assignable to parameter of type '(value: unknown, index: number, array: unknown[]) => Element'.
build-stg: src/components/Process/ConfirmVoteModal.tsx#L35
Parameter 'q' implicitly has an 'any' type.
build-stg: src/components/Process/ConfirmVoteModal.tsx#L35
Parameter 'i' implicitly has an 'any' type.
build-stg
Process completed with exit code 2.