@quesmed/types-rn 2.6.293 → 2.6.294
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
|
@@ -105,7 +105,7 @@ const resolveConceptCacheId = (cache, conceptId) => {
|
|
|
105
105
|
const updateCacheOnUpsertConceptNote = (cache, result, options) => {
|
|
106
106
|
const { upsertConceptNote } = result?.data?.restricted || {};
|
|
107
107
|
const { variables } = options || {};
|
|
108
|
-
if (!variables
|
|
108
|
+
if (!variables) {
|
|
109
109
|
return;
|
|
110
110
|
}
|
|
111
111
|
const cacheId = resolveConceptCacheId(cache, variables.conceptId);
|
|
@@ -157,7 +157,7 @@ exports.UPSERT_STATION_NOTE = (0, client_1.gql) `
|
|
|
157
157
|
const updateCacheOnUpsertStationNote = (cache, result, options) => {
|
|
158
158
|
const { upsertStationNote } = result?.data?.restricted || {};
|
|
159
159
|
const { variables } = options || {};
|
|
160
|
-
if (!variables
|
|
160
|
+
if (!variables) {
|
|
161
161
|
return;
|
|
162
162
|
}
|
|
163
163
|
cache.writeFragment({
|