Show: var -> const in DetailPage.render()
This commit is contained in:
parent
8b781694f2
commit
1cad30d188
1 changed files with 4 additions and 4 deletions
|
@ -142,10 +142,10 @@ var DetailPage = React.createClass({
|
|||
return null;
|
||||
}
|
||||
|
||||
var name = this.props.name;
|
||||
var costIncludesData = this.state.costIncludesData;
|
||||
var metadata = this.state.metadata;
|
||||
var cost = this.state.cost;
|
||||
const name = this.props.name;
|
||||
const costIncludesData = this.state.costIncludesData;
|
||||
const metadata = this.state.metadata;
|
||||
const cost = this.state.cost;
|
||||
|
||||
return (
|
||||
<main>
|
||||
|
|
Loading…
Add table
Reference in a new issue