Skip to content

fix : remove provider reloads #700

fix : remove provider reloads

fix : remove provider reloads #700

Triggered via pull request August 29, 2024 12:29
Status Failure
Total duration 36s
Artifacts

node.js.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 7 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#L92
React Hook useMemo has missing dependencies: 'isCancelled' and 'mutate'. Either include them or remove the dependency array
build: packages/esm-patient-queues-app/src/active-visits/change-status-dialog.component.tsx#L96
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/change-status-move-to-next-dialog.component.tsx#L90
React Hook useMemo has missing dependencies: 'isCancelled' and 'mutate'. Either include them or remove the dependency array
build: packages/esm-patient-queues-app/src/active-visits/change-status-move-to-next-dialog.component.tsx#L94
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#L65
React Hook useMemo has missing dependencies: 'isCancelled' and 'mutate'. Either include them or remove the dependency array
build: packages/esm-patient-queues-app/src/active-visits/pick-patient-dialog.component.tsx#L69
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