diff --git a/EmployeeDirectory/Views/EmployeeTableViewCell.swift b/EmployeeDirectory/Views/EmployeeTableViewCell.swift index af15ad8..722cfd8 100644 --- a/EmployeeDirectory/Views/EmployeeTableViewCell.swift +++ b/EmployeeDirectory/Views/EmployeeTableViewCell.swift @@ -128,6 +128,7 @@ public class EmployeeTableViewCell: UITableViewCell { // Bind the image to the photoImageView smallPhotoSubscriber = viewModel.$smallPhoto + .compactMap { $0 } .receive(on: DispatchQueue.main) .sink { [weak self] image in self?.photoImageView.image = image