@medplum/react 0.9.7 → 0.9.10
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/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/index.min.js +1 -1
- package/dist/cjs/index.min.js.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/index.min.js +1 -1
- package/dist/esm/index.min.js.map +1 -1
- package/package.json +5 -5
package/dist/esm/index.js
CHANGED
|
@@ -649,7 +649,7 @@ function useResource(value) {
|
|
|
649
649
|
let subscribed = true;
|
|
650
650
|
if (!resource && value && 'reference' in value && value.reference) {
|
|
651
651
|
medplum
|
|
652
|
-
.
|
|
652
|
+
.readReference(value)
|
|
653
653
|
.then((r) => {
|
|
654
654
|
if (subscribed) {
|
|
655
655
|
setResource(r);
|