From 1cad30d1886c14f4770634f70ff7268be9842bbc Mon Sep 17 00:00:00 2001 From: Alex Liebowitz Date: Wed, 14 Dec 2016 13:27:04 -0500 Subject: [PATCH] Show: var -> const in DetailPage.render() --- js/page/show.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/js/page/show.js b/js/page/show.js index 339a827f1..7486b0c93 100644 --- a/js/page/show.js +++ b/js/page/show.js @@ -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 (