We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fb4b1c0 commit b89bb17Copy full SHA for b89bb17
lib/OnyxUtils.ts
@@ -1173,8 +1173,7 @@ function subscribeToKey<TKey extends OnyxKey>(connectOptions: ConnectOptions<TKe
1173
cache.addNullishStorageKey(mapping.key);
1174
}
1175
1176
- const shouldSendCollectionKey = isCollectionKey(mapping.key) && mapping.waitForCollectionCallback;
1177
- const matchedKey = shouldSendCollectionKey ? mapping.key : undefined;
+ const matchedKey = isCollectionKey(mapping.key) && mapping.waitForCollectionCallback ? mapping.key : undefined;
1178
1179
// Here we cannot use batching because the nullish value is expected to be set immediately for default props
1180
// or they will be undefined.
0 commit comments