Show: var -> const in DetailPage.render()

This commit is contained in:
Alex Liebowitz 2016-12-14 13:27:04 -05:00
parent 8b781694f2
commit 1cad30d188

View file

@ -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>