Commit a5af0657 authored by Sumaiyya Burney's avatar Sumaiyya Burney

Updates field name in product form

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