(chore) Bump @carbon/react to v1.71.0 #4438
Annotations
10 warnings
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-patient-card/row-elements/ward-patient-pending-transfer.tsx#L29
React Hook useMemo has a missing dependency: 't'. Either include it or remove the dependency array
|
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-view/ward.component.tsx#L48
The ref value 'scrollToLoadMoreTrigger.current' will likely have changed by the time this effect cleanup function runs. If this ref points to a node rendered by React, copy 'scrollToLoadMoreTrigger.current' to a variable inside the effect, and use that variable in the cleanup function
|
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-view/ward.component.tsx#L52
React Hook useEffect has a missing dependency: 'isLoadingInpatientAdmissions'. Either include it or remove the dependency array
|
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-workspace/admit-patient-form-workspace/admit-patient-form.workspace.tsx#L49
React Hook useMemo has an unnecessary dependency: 'beds'. Either exclude it or remove the dependency array
|
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-workspace/admit-patient-form-workspace/admit-patient-form.workspace.tsx#L64
React Hook useEffect has a missing dependency: 'promptBeforeClosing'. Either include it or remove the dependency array. If 'promptBeforeClosing' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-workspace/cancel-admission-request-workspace/cancel-admission-request.workspace.tsx#L61
React Hook useEffect has a missing dependency: 'promptBeforeClosing'. Either include it or remove the dependency array. If 'promptBeforeClosing' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-workspace/cancel-admission-request-workspace/cancel-admission-request.workspace.tsx#L100
React Hook useCallback has missing dependencies: 'closeWorkspaceWithSavedChanges', 'patient', and 't'. Either include them or remove the dependency array. If 'closeWorkspaceWithSavedChanges' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-workspace/patient-discharge/patient-discharge.workspace.tsx#L54
React Hook useCallback has missing dependencies: 'closeWorkspaceWithSavedChanges', 'createEncounter', 't', 'wardPatient.bed.id', and 'wardPatient?.patient'. Either include them or remove the dependency array
|
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-workspace/patient-transfer-bed-swap/patient-bed-swap-form.component.tsx#L54
React Hook useEffect has a missing dependency: 'promptBeforeClosing'. Either include it or remove the dependency array. If 'promptBeforeClosing' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
🧪 Run lint, type checks and tests:
packages/esm-ward-app/src/ward-workspace/patient-transfer-bed-swap/patient-bed-swap-form.component.tsx#L116
React Hook useCallback has missing dependencies: 'closeWorkspaceWithSavedChanges', 'createEncounter', and 't'. Either include them or remove the dependency array. If 'closeWorkspaceWithSavedChanges' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Loading