modal bootstrap tutup pada formulir kirim dalam reaksi

function handleCloseModal(){            
    document.getElementById("myModal").classList.remove("show", "d-block");
    document.querySelectorAll(".modal-backdrop")
            .forEach(el => el.classList.remove("modal-backdrop"));
}
Aryamitra Chaudhuri