We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f028d27 commit 286095bCopy full SHA for 286095b
1 file changed
lib/Onyx.ts
@@ -493,7 +493,7 @@ function clear(keysToPreserve: OnyxKey[] = []): Promise<void> {
493
}, {}),
494
);
495
496
- // Remove only the items that we want cleared from storage, and reset others to default
+ // Remove only the items that we want cleared from storage, and reset others to default.
497
keysToBeClearedFromStorage.forEach((key) => cache.drop(key));
498
return Storage.removeItems(keysToBeClearedFromStorage)
499
.then(() => connectionManager.refreshSessionID())
0 commit comments