Fakultas Ilmu Komputer UI

Commit 23fadc1c authored by FadhilP's avatar FadhilP
Browse files

[REFACTOR] Fix edit produk page not showing

parent 5e81e653
Pipeline #64822 passed with stages
in 2 minutes and 25 seconds
......@@ -22,7 +22,7 @@ const FormProduk = ({ onSubmit, initialData = null }) => {
subcategory: initialData["subcategory"],
description: initialData["description"],
price: initialData["price"].split(".")[0],
stock: initialData["stock"].split(".")[0],
stock: initialData["stock"],
modal: initialData["modal"].split(".")[0],
}
: {},
......
Supports Markdown
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