Skip to content

Commit 5c56e8d

Browse files
authored
Remove redundant lookupOverride from reset (#69)
1 parent 78e0d91 commit 5c56e8d

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

Sources/Atoms/Core/StoreContext.swift

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,6 @@ internal struct StoreContext {
176176
let key = AtomKey(atom, overrideScopeKey: override?.scopeKey)
177177

178178
if let cache = lookupCache(of: atom, for: key) {
179-
let override = lookupOverride(of: atom)
180179
let newCache = makeNewCache(of: atom, for: key, override: override)
181180
update(atom: atom, for: key, value: newCache.value, cache: cache, order: .newValue)
182181
checkRelease(for: key)

0 commit comments

Comments
 (0)