Encapsulate the row rendering logic in a separate component #112
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
|