fix
This commit is contained in:
parent
b2d3c7c658
commit
be6f57cf8b
@ -205,7 +205,7 @@ class Main extends Component {
|
|||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
this.setState({
|
this.setState({
|
||||||
cart: [...this.state.cart, {"name": "Doprava na " + point.name, "id": 2, "price": delivery_cost, "locked": true}],
|
cart: [...this.state.cart, {"name": "Doprava na " + point.name, "id": 2, "price": delivery_cost, "locked": true, "quantity": 1}],
|
||||||
delivery: point.name,
|
delivery: point.name,
|
||||||
status_text: json.reason,
|
status_text: json.reason,
|
||||||
status: "success",
|
status: "success",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user