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;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
var name = this.props.name;
|
const name = this.props.name;
|
||||||
var costIncludesData = this.state.costIncludesData;
|
const costIncludesData = this.state.costIncludesData;
|
||||||
var metadata = this.state.metadata;
|
const metadata = this.state.metadata;
|
||||||
var cost = this.state.cost;
|
const cost = this.state.cost;
|
||||||
|
|
||||||
return (
|
return (
|
||||||
<main>
|
<main>
|
||||||
|
|
Loading…
Add table
Reference in a new issue