Fixing errors

This commit is contained in:
adam.harbas@a-net.ba
2016-01-11 10:07:51 +01:00
parent 3faa487ecd
commit f4884c4985
2 changed files with 1 additions and 6 deletions

View File

@@ -37,7 +37,7 @@ var CheckoutPage = React.createClass({
} else {
last_used_payment = (
<button id="order" name="order" className="mybutton" disabled={!this.state.isDeliveryDestinationValid} onClick={this._onOrderClick}>Završi narudžbu</button>
<PaypalButton disabled={!this.state.isDeliveryDestinationValid} deliveryDestination={this.state.deliveryDestination} amount={CartStore.getAmount()} deliveryCost={CartStore.getDeliveryCost(false)} />
);
}