Skip to content
Snippets Groups Projects
Commit e80b9482 authored by Angela Geraldine's avatar Angela Geraldine
Browse files

Merge branch 'angel' into 'main'

fix: minor fix maaf bgt remove tanggalPendaftaran from body handleUpdate

See merge request !16
parents 18cd15d2 fd96dd45
Branches
Tags
1 merge request!16fix: minor fix maaf bgt remove tanggalPendaftaran from body handleUpdate
......@@ -29,7 +29,6 @@ const Edit = () => {
alamat,
statusPelanggan,
adminKursus,
tanggalPendaftaran,
})
const updateQuery = await fetch("https://rpl-backend-production.up.railway.app/v1/calonpelanggan/update/" + router.query.id, {
method: "PATCH",
......@@ -151,7 +150,7 @@ const Edit = () => {
<input disabled value={new Date(tanggalPendaftaran).toLocaleDateString("sv-SE",{
dateStyle:"short"
}).split("/").join("-")}
type="date" required className="drop-shadow-xl w-2/3 p-2 rounded-xl" />
type="date" className="drop-shadow-xl w-2/3 p-2 rounded-xl" />
</div>
<input type="submit" className="bg-[#F875AA] px-8 py-3 text-xl font-bold text-white rounded-xl mx-auto hover:cursor-pointer" value={"Simpan"} />
</form>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment