Skip to content

wip: added style to scope tree - Ref gestion-de-projet#2371 #2610

wip: added style to scope tree - Ref gestion-de-projet#2371

wip: added style to scope tree - Ref gestion-de-projet#2371 #2610

Triggered via push November 13, 2024 10:41
Status Failure
Total duration 1m 1s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 11 warnings
test: src/components/CreationCohort/DataList_Criteria.tsx#L161
Unsafe usage of ReturnStatement
test: src/components/Hierarchy/CodesWithSystems.tsx#L40
Missing "key" prop for element in iterator
test: src/components/Patient/PatientMedication/index.tsx#L472
Replace `··················` with `················`
test: src/components/Patient/PatientMedication/index.tsx#L474
Replace `··················` with `················`
test: src/components/Patient/PatientMedication/index.tsx#L476
Replace `··················` with `················`
test
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/BiologyForm/index.tsx#L104
React Hook useEffect has a missing dependency: 'currentCriteria'. Either include it or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/DocumentsForm/DocumentsForm.tsx#L115
React Hook useEffect has missing dependencies: 'defaultValues.search' and 'searchInputError'. Either include them or remove the dependency array. You can also do a functional update 'setSearchInputError(s => ...)' if you only need 'searchInputError' in the 'setSearchInputError' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/MedicationForm/index.tsx#L63
React Hook useEffect has a missing dependency: 'currentCriteria'. Either include it or remove the dependency array. You can also do a functional update 'setCurrentCriteria(c => ...)' if you only need 'currentCriteria' in the 'setCurrentCriteria' call
test: src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/MedicationForm/index.tsx#L94
React Hook "useMemo" is called conditionally. React Hooks must be called in the exact same order in every component render. Did you accidentally call a React Hook after an early return?
test: src/components/CreationCohort/DiagramView/components/TemporalConstraintCard/TemporalConstraintCard.tsx#L38
React Hook useEffect has a missing dependency: 'temporalConstraints?.length'. Either include it or remove the dependency array
test: src/components/CreationCohort/DiagramView/components/TemporalConstraintCard/TemporalConstraintCard.tsx#L52
React Hook useEffect has missing dependencies: 'criteriaGroup', 'dispatch', 'selectedCriteria', and 'temporalConstraints'. Either include them or remove the dependency array