Skip to content

fix : remove provider reloads #706

fix : remove provider reloads

fix : remove provider reloads #706

Triggered via pull request August 29, 2024 14:37
Status Failure
Total duration 33s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 3 warnings
build
Error: Input required and not supplied: server-token
build
@ugandaemr/esm-patient-queues-app#lint: command (/home/runner/work/esm-ugandaemr-core/esm-ugandaemr-core/packages/esm-patient-queues-app) yarn run lint exited (1)
build
Process completed with exit code 1.
build
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v3, actions/setup-node@v3, actions/cache@v3, felixmosh/turborepo-gh-artifacts@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
build: packages/esm-patient-queues-app/src/active-visits/change-status-dialog.component.tsx#L97
Assignments to the 'isCancelled' variable from inside React Hook useEffect will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside useEffect
build: packages/esm-patient-queues-app/src/active-visits/pick-patient-dialog.component.tsx#L57
React Hook useMemo has an unnecessary dependency: 'isCancelled'. Either exclude it or remove the dependency array