03-render-conditionally-from-props: use const (#36551)

This commit is contained in:
SomeDer
2019-08-12 13:47:39 +01:00
committed by Parth Parth
parent 4ff5e6eff6
commit 01c8554adc

View File

@ -78,7 +78,7 @@ class GameOfChance extends React.Component {
});
}
render() {
let expression = null; // change code here
const expression = null; // change code here
return (
<div>
<button onClick={this.handleClick}>Play Again</button>