Skip to content

Commit

Permalink
scary exclamation mark
Browse files Browse the repository at this point in the history
  • Loading branch information
kacper-mikolajczak committed Sep 30, 2024
1 parent b74380b commit ee1d28d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/useOnyx.ts
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ function getCachedValue<TKey extends OnyxKey>(key: TKey): OnyxValue<TKey> | unde

const values: Record<string, unknown> = {};
allCacheKeys.forEach((cacheKey) => {
if (cacheKey.startsWith(key)) {
if (!cacheKey.startsWith(key)) {
return;
}

Expand Down

0 comments on commit ee1d28d

Please sign in to comment.