@openmrs/esm-patient-common-lib 6.1.1-pre.3446 → 6.1.1-pre.3449

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@openmrs/esm-patient-common-lib",
3
- "version": "6.1.1-pre.3446",
3
+ "version": "6.1.1-pre.3449",
4
4
  "license": "MPL-2.0",
5
5
  "description": "Library for common patient chart components",
6
6
  "browser": "dist/openmrs-esm-patient-common-lib.js",
@@ -38,5 +38,5 @@
38
38
  "react": "18.x",
39
39
  "single-spa": "5.x"
40
40
  },
41
- "gitHead": "eddc03f9b9ada7652e418c92b3a3dff648e8fc74"
41
+ "gitHead": "94dcce8e73b355f1956234be3d3c917c47259ce5"
42
42
  }
@@ -12,7 +12,7 @@ export function useLaunchWorkspaceRequiringVisit<T extends object>(workspaceName
12
12
  const { systemVisitEnabled } = useSystemVisitSetting();
13
13
  const { currentVisit } = useVisitOrOfflineVisit(patientUuid);
14
14
 
15
- const launchOrderBasket = useCallback(
15
+ const launchWorkspace = useCallback(
16
16
  (additionalProps?: T) => {
17
17
  if (!systemVisitEnabled || currentVisit) {
18
18
  launchPatientWorkspace(workspaceName, additionalProps);
@@ -22,5 +22,5 @@ export function useLaunchWorkspaceRequiringVisit<T extends object>(workspaceName
22
22
  },
23
23
  [currentVisit, systemVisitEnabled, workspaceName],
24
24
  );
25
- return launchOrderBasket;
25
+ return launchWorkspace;
26
26
  }