Skip to content

Commit 447f9e3

Browse files
committed
Minor improvement
1 parent fa363e8 commit 447f9e3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/OnyxUtils.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1358,6 +1358,7 @@ function setWithRetry<TKey extends OnyxKey>({key, value, options}: SetParams<TKe
13581358
}
13591359

13601360
const existingValue = cache.get(key, false);
1361+
13611362
// If the existing value as well as the new value are null, we can return early.
13621363
if (existingValue === undefined && value === null) {
13631364
return Promise.resolve();

0 commit comments

Comments
 (0)