diff --git a/src/components/Burger/BuildControls/BuildControls.js b/src/components/Burger/BuildControls/BuildControls.js index ac5563f..4a99bbe 100644 --- a/src/components/Burger/BuildControls/BuildControls.js +++ b/src/components/Burger/BuildControls/BuildControls.js @@ -12,6 +12,7 @@ const controls = [ const buildControls = (props) => (
+

Current Price: {props.price.toFixed(2)}

{controls.map( ctrl => ( + disabled={disabledInfo} + price={this.state.totalPrice} /> ); };