From f6d1da7793cc04e938bf8fd7da35c8a51ffecdc3 Mon Sep 17 00:00:00 2001 From: Dan Finlay Date: Thu, 16 Jun 2016 15:51:39 -0700 Subject: Improve template --- ui/app/template.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ui') diff --git a/ui/app/template.js b/ui/app/template.js index 3c2d902b5..410c82a72 100644 --- a/ui/app/template.js +++ b/ui/app/template.js @@ -16,8 +16,7 @@ function COMPONENTNAME() { } COMPONENTNAME.prototype.render = function() { - var state = this.props - var rpc = state.rpc + const props = this.props return ( h('div', { -- cgit v1.2.3