wip: added style to search standard pagination - Ref gestion-de-proje… #2604
Annotations
10 errors and 11 warnings
test:
src/components/CreationCohort/DataList_Criteria.tsx#L161
Unsafe usage of ReturnStatement
|
|
|
|
|
|
|
test:
src/components/Hierarchy/styles.ts#L27
Insert `⏎··`
|
test:
src/components/Hierarchy/styles.ts#L28
Insert `··`
|
test:
src/components/Hierarchy/styles.ts#L29
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/EncounterForm/index.tsx#L48
Arrow function has too many statements (31). Maximum allowed is 30
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/EncounterForm/index.tsx#L110
'setMultiFields' is assigned a value but never used
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/ImagingForm/index.tsx#L52
Arrow function has too many statements (38). Maximum allowed is 30
|
test:
src/components/CreationCohort/DiagramView/components/LogicalOperator/components/CriteriaRightPanel/ImagingForm/index.tsx#L53
'classes' is assigned a value but never used
|
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
|