diff --git a/lib/withOnyx.js b/lib/withOnyx.js index 2d91424c..46971a39 100644 --- a/lib/withOnyx.js +++ b/lib/withOnyx.js @@ -59,7 +59,7 @@ export default function (mapOnyxToState, shouldDelayUpdates = false) { (resultObj, mapping, propertyName) => { const key = Str.result(mapping.key, props); let value = Onyx.tryGetCachedValue(key, mapping); - if (!value && mapping.initialValue) { + if (value === undefined) { value = mapping.initialValue; }