Skip to content

Commit

Permalink
Fix demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Usbergo committed Mar 20, 2021
1 parent e07dc7b commit 4586abe
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"repositoryURL": "https://github.com/alexdrone/Store",
"state": {
"branch": "master",
"revision": "88518378974bf6790c1940c36093de6c0a41a732",
"revision": "e07dc7b0f54c98b977feab0c67c9782e54ba81e0",
"version": null
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@ class AppStateStore: CodableStore<AppState> {
fatalError()
}
let childModel = readOnlyModel.items.value![idx]
let modelStorage = UnownedChildModelStorage(parent: self.modelStorage, model: childModel) {
let childStorage = UnownedChildModelStorage(parent: modelStorage, model: childModel) {
_, _ in
}
return Store(modelStorage: modelStorage, parent: self)
return Store(modelStorage: childStorage, parent: self)
}
}

Expand Down

0 comments on commit 4586abe

Please sign in to comment.