Skip to content

Commit

Permalink
Fixed demo project
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex Usbergo committed Jun 26, 2020
1 parent 2d53f74 commit 816f68e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 12 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,18 +6,9 @@
"repositoryURL": "https://github.com/alexdrone/Store",
"state": {
"branch": "master",
"revision": "d4c19a3553ad24429fc41fd029fb6645f2a17362",
"revision": "2d53f740f60a11b298382bb39c58ea0005499cd2",
"version": null
}
},
{
"package": "SwiftProtobuf",
"repositoryURL": "https://github.com/apple/swift-protobuf.git",
"state": {
"branch": null,
"revision": "7f36441e3372665b1b414f8ac93b5905cc42a405",
"version": "1.9.0"
}
}
]
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ struct AppState: Codable {
}

/// Fetches the top stories from HackerNews.
struct FetchTopStories: ActionProtocol {
struct FetchTopStories: Action {
private let cancellable = AnyCancellableRef()

/// The execution body for this action.
Expand Down Expand Up @@ -39,7 +39,7 @@ class AppStateStore: CodableStore<AppState> {
/// Hackernews REST endpoints.
let api = API()
/// The ongoing transaction.
private var fetchTopStoriesTransaction: TransactionProtocol?
private var fetchTopStoriesTransaction: AnyTransaction?

convenience init() {
self.init(model: AppState(), diffing: .async)
Expand Down

0 comments on commit 816f68e

Please sign in to comment.