Skip to content

Added cancel buttons #13

Added cancel buttons

Added cancel buttons #13

Triggered via push May 30, 2024 21:16
Status Failure
Total duration 31s
Artifacts

deploy.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

4 errors
deploy: src/components/CoordinatesForm/CoordinatesForm.stories.ts#L17
Type '{ myLocationA: { isLoading: false; }; myLocationB: { isLoading: false; }; }' is missing the following properties from type 'IButtons': [BUTTON_NAMES.cancelA], [BUTTON_NAMES.cancelB]
deploy: src/components/CoordinatesForm/CoordinatesForm.stories.ts#L28
Type '{ inputs: { lat1: { value: string; }; lon1: { value: string; }; lat2: { value: string; }; lon2: { value: string; }; searchPointA: { value: string; }; searchPointB: { value: string; }; }; }' is not assignable to type 'Partial<{ handleSubmit: Mock<[e: FormEvent<Element>], void>; handleChange: Mock<[e: ChangeEvent<HTMLInputElement>], void>; ... 4 more ...; handleCancelClick: (button: BUTTON_NAMES) => void; }> & { ...; }'.
deploy: src/components/CoordinatesForm/CoordinatesForm.stories.ts#L41
Type '{ inputs: { lat1: { value: string; error: string; }; lon1: { value: string; error: string; }; lat2: { value: string; error: string; }; lon2: { value: string; error: string; }; searchPointA: { value: string; error: string; }; searchPointB: { ...; }; }; }' is not assignable to type 'Partial<{ handleSubmit: Mock<[e: FormEvent<Element>], void>; handleChange: Mock<[e: ChangeEvent<HTMLInputElement>], void>; ... 4 more ...; handleCancelClick: (button: BUTTON_NAMES) => void; }> & { ...; }'.
deploy
Process completed with exit code 2.