Commit 86903eaf authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

benerin menu selection

parent ccbdabcf
...@@ -60,7 +60,6 @@ class Item extends React.Component { ...@@ -60,7 +60,6 @@ class Item extends React.Component {
render() { render() {
const { item } = this.props const { item } = this.props
return ( return (
<View style={{ flex: 1, margin: 10 }} key={item.id} ref={this.props._scrollView}> <View style={{ flex: 1, margin: 10 }} key={item.id} ref={this.props._scrollView}>
......
...@@ -313,13 +313,6 @@ class MenuSelection extends React.Component { ...@@ -313,13 +313,6 @@ class MenuSelection extends React.Component {
} }
this.props.reduceQuantityItem(order_item) this.props.reduceQuantityItem(order_item)
// // let quantity = 0
// console.log("INI TEST YA" + is_xist.quantity)
// const listMenu = [...this.state.listMenu]
// listMenu[index].qty = is_xist.quantity
// this.setState({
// listMenu
// })
} }
} }
} }
......
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