Skip to content

Commit

Permalink
[Fix] #275 - 코드 리뷰 반영 1
Browse files Browse the repository at this point in the history
  • Loading branch information
jeongdung-eo committed Aug 13, 2024
1 parent b104361 commit 7a4c394
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,17 +118,17 @@ final class NewHomeViewController: UIViewController {

output.bakery
.receive(on: RunLoop.main)
.sink { err in
print("error:\(err)")
.sink { completion in
print("completion:\(completion)")
} receiveValue: { [weak self] bakery in
self?.reloadBestList(bakery: bakery)
}
.store(in: &self.cancelBag)

output.review
.receive(on: RunLoop.main)
.sink { err in
print("error:\(err)")
.sink { completion in
print("completion:\(completion)")
} receiveValue: { [weak self] review in
self?.reloadBestList(review: review)
}
Expand Down

0 comments on commit 7a4c394

Please sign in to comment.