package com.tt.honeyDue.ui.components

import androidx.compose.runtime.Composable
import com.tt.honeyDue.models.MyResidencesResponse
import com.tt.honeyDue.models.TaskCreateRequest

@Composable
fun AddNewTaskWithResidenceDialog(
    residencesResponse: MyResidencesResponse,
    onDismiss: () -> Unit,
    onCreate: (TaskCreateRequest) -> Unit,
    isLoading: Boolean = false,
    errorMessage: String? = null
) {
    AddTaskDialog(
        residenceId = null,
        residencesResponse = residencesResponse,
        onDismiss = onDismiss,
        onCreate = onCreate,
        isLoading = isLoading,
        errorMessage = errorMessage
    )
}
