import SwiftUI
import ComposeApp

struct EditDocumentView: View {
    let document: Document
    @StateObject private var documentViewModel = DocumentViewModel()
    @State private var isPresented = true

    var body: some View {
        DocumentFormView(
            residenceId: nil,
            existingDocument: document,
            initialDocumentType: document.documentType,
            isPresented: $isPresented,
            documentViewModel: documentViewModel
        )
    }
}
