Skip to content

refactor: make the link tag optional on learning card #841

refactor: make the link tag optional on learning card

refactor: make the link tag optional on learning card #841

Triggered via pull request October 10, 2024 12:17
Status Failure
Total duration 1m 8s
Artifacts

checks.yml

on: pull_request
Matrix: checks
Fit to window
Zoom out
Zoom in

Annotations

15 errors
checks (20): src/custom/LearningCard/LearningCard.tsx#L33
Type '({ path, children }: { path: any; children: any; }) => Element' has no properties in common with type 'PropsWithChildren<{ path?: string | undefined; }>'.
checks (20): src/custom/LearningCard/LearningCard.tsx#L33
Binding element 'path' implicitly has an 'any' type.
checks (20): src/custom/LearningCard/LearningCard.tsx#L33
Binding element 'children' implicitly has an 'any' type.
checks (20): src/custom/LearningCard/LearningCard.tsx#L68
JSX element type 'OptionalLink' does not have any construct or call signatures.
checks (20): src/custom/LearningCard/LearningCard.tsx#L68
'OptionalLink' cannot be used as a JSX component.
checks (20)
Process completed with exit code 1.
checks (18)
The job was canceled because "_20" failed.
checks (18): src/custom/LearningCard/LearningCard.tsx#L33
Type '({ path, children }: { path: any; children: any; }) => Element' has no properties in common with type 'PropsWithChildren<{ path?: string | undefined; }>'.
checks (18): src/custom/LearningCard/LearningCard.tsx#L33
Binding element 'path' implicitly has an 'any' type.
checks (18): src/custom/LearningCard/LearningCard.tsx#L33
Binding element 'children' implicitly has an 'any' type.
checks (18): src/custom/LearningCard/LearningCard.tsx#L68
JSX element type 'OptionalLink' does not have any construct or call signatures.
checks (18): src/custom/LearningCard/LearningCard.tsx#L68
'OptionalLink' cannot be used as a JSX component.
checks (18)
The operation was canceled.
checks (16)
The job was canceled because "_20" failed.
checks (16)
The operation was canceled.