Commit e49d9acc authored by Sumaiyya Burney's avatar Sumaiyya Burney

Cleans product form fields just a little bit more

parent a5af0657
...@@ -31,7 +31,7 @@ export default function ProductForm(props) { ...@@ -31,7 +31,7 @@ export default function ProductForm(props) {
} }
}); });
console.log(data); console.log(data);
setForm({ ...data, availableStock: data.availableStock }); setForm({ ...data });
}); });
} }
}); });
......
Markdown is supported
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