Fix stock quantity input on change.

This commit is contained in:
Jeff Stieler 2019-04-05 14:31:20 -06:00
parent a36788dfb4
commit e2f163c2f2
1 changed files with 2 additions and 2 deletions

View File

@ -47,8 +47,8 @@ class ProductStockCard extends Component {
} );
}
onQuantityChange( quantity ) {
this.setState( { quantity } );
onQuantityChange( event ) {
this.setState( { quantity: event.target.value } );
}
updateStock() {