Commit 6a9b3732 authored by Wahyu Adjie Prasetyo's avatar Wahyu Adjie Prasetyo

button dialog di rubah jadi no dan yes pas delete item

parent 7af23137
...@@ -168,12 +168,12 @@ class ShoppingCart extends React.Component { ...@@ -168,12 +168,12 @@ class ShoppingCart extends React.Component {
"Are you sure want to delete item?", "Are you sure want to delete item?",
[ [
{ {
text: 'Cancel', text: 'No',
onPress: () => console.log('Cancel Delete Item'), onPress: () => console.log('Cancel Delete Item'),
style: 'cancel', style: 'cancel',
}, },
{ {
text: 'Delete Item', onPress: () => { text: 'Yes', onPress: () => {
this.props.reduceQuantityItem(order_item) this.props.reduceQuantityItem(order_item)
if (is_xist.quantity == 0) { if (is_xist.quantity == 0) {
......
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