Skip to content

Encapsulate the row rendering logic in a separate component #112

Encapsulate the row rendering logic in a separate component

Encapsulate the row rendering logic in a separate component #112

Triggered via pull request January 5, 2024 08:42
Status Failure
Total duration 33s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

4 errors and 1 warning
build
Error: Input required and not supplied: server-token
build
lint: command (/home/runner/work/openmrs-esm-laboratory/openmrs-esm-laboratory) yarn run lint exited (1)
build: src/completed-list/completed-list.component.tsx#L88
Replace `{formatDate(parseDate(dateActivated))}` with `⏎··········{formatDate(parseDate(dateActivated))}⏎········`
build
Process completed with exit code 1.
build: src/work-list/work-list.component.tsx#L119
The 'ResultsOrder' function makes the dependencies of useMemo Hook (at line 190) change on every render. Move it inside the useMemo callback. Alternatively, wrap the definition of 'ResultsOrder' in its own useCallback() Hook