refactored to use new EmployeeCellViewModel

Signed-off-by: Matt Bruce <mbrucedogs@gmail.com>
This commit is contained in:
Matt Bruce 2025-01-20 18:49:53 -06:00
parent 4f072677a5
commit e1521c47a8

View File

@ -122,7 +122,7 @@ extension EmployeesViewController: UITableViewDataSource {
return UITableViewCell() return UITableViewCell()
} }
let employee = viewModel.employees[indexPath.row] let employee = viewModel.employees[indexPath.row]
cell.configure(with: employee) cell.configure(with: EmployeeCellViewModel(employee: employee))
return cell return cell
} }
} }