react-native-onyx 2.0.132 → 2.0.133
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/OnyxUtils.js +1 -1
- package/package.json +1 -1
package/dist/OnyxUtils.js
CHANGED
|
@@ -1126,7 +1126,7 @@ function subscribeToKey(connectOptions) {
|
|
|
1126
1126
|
// since there are none matched. In withOnyx() we wait for all connected keys to return a value before rendering the child
|
|
1127
1127
|
// component. This null value will be filtered out so that the connected component can utilize defaultProps.
|
|
1128
1128
|
if (matchingKeys.length === 0) {
|
|
1129
|
-
if (mapping.key
|
|
1129
|
+
if (mapping.key) {
|
|
1130
1130
|
OnyxCache_1.default.addNullishStorageKey(mapping.key);
|
|
1131
1131
|
}
|
|
1132
1132
|
// Here we cannot use batching because the nullish value is expected to be set immediately for default props
|