Encapsulate the row rendering logic in a separate component #105
Annotations
9 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#L56
Replace `·fulfillerStatus·` with `⏎··fulfillerStatus,⏎`
|
|
build:
src/completed-list/completed-list.component.tsx#L142
Replace `·id:·3,·header:·t("accessionNumber",·"Accession·Number"),·key:·"accessionNumber"` with `⏎······id:·3,⏎······header:·t("accessionNumber",·"Accession·Number"),⏎······key:·"accessionNumber",⏎···`
|
build:
src/completed-list/completed-list.component.tsx#L164
Replace `·rows={tableRows}·headers={tableColumns}·useZebraStyles>` with `⏎··········rows={tableRows}⏎··········headers={tableColumns}⏎··········useZebraStyles`
|
|
|
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
|