Skip to content

Commit

Permalink
Update lib/Onyx.js
Browse files Browse the repository at this point in the history
Co-authored-by: Carlos Martins <[email protected]>
  • Loading branch information
hannojg and luacmartins authored Jul 26, 2023
1 parent e531270 commit 69fac60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Onyx.js
Original file line number Diff line number Diff line change
Expand Up @@ -207,7 +207,7 @@ function tryGetCachedValue(key, mapping = {}) {
}
return finalObject;
}, {});
if (_.size(values) === 0) {
if (_.isEmpty(values)) {
return;
}
val = values;
Expand Down

0 comments on commit 69fac60

Please sign in to comment.