import SwiftUI
import ComposeApp

struct AddTaskWithResidenceView: View {
    @Binding var isPresented: Bool
    let residences: [ResidenceResponse]

    var body: some View {
        TaskFormView(residenceId: nil, residences: residences, isPresented: $isPresented)
    }
}

#Preview {
    AddTaskWithResidenceView(isPresented: .constant(true), residences: [])
}
