Skip to content

Commit 51565bd

Browse files
authored
Typo (#173)
1 parent be61bb5 commit 51565bd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Sources/Atoms/Core/StoreContext.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -316,7 +316,7 @@ private extension StoreContext {
316316
currentScopeKey: cache.initScopeKey
317317
)
318318

319-
let didUpdate = localContext.transiteveUpdate(for: key, cache: cache)
319+
let didUpdate = localContext.transitiveUpdate(for: key, cache: cache)
320320

321321
guard didUpdate else {
322322
// Record the atom to avoid downstream from being update.
@@ -386,7 +386,7 @@ private extension StoreContext {
386386
notifyUpdateToObservers(scopeKeys: updatedScopeKeys)
387387
}
388388

389-
func transiteveUpdate(for key: AtomKey, cache: some AtomCacheProtocol) -> Bool {
389+
func transitiveUpdate(for key: AtomKey, cache: some AtomCacheProtocol) -> Bool {
390390
// Overridden atoms don't get updated transitively.
391391
let newValue = getValue(of: cache.atom, for: key, override: nil)
392392

0 commit comments

Comments
 (0)