diff options
author | kumavis <kumavis@users.noreply.github.com> | 2016-06-22 05:24:28 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-06-22 05:24:28 +0800 |
commit | 537328b5298a42f9d20862d42b9012babcda373c (patch) | |
tree | 9a5728447f5b23a918b4a23c12e91ea1b702e527 /ui/app/template.js | |
parent | bb7788373d9c234313d651d88c72c18a8e4ca0aa (diff) | |
parent | d7c3e8e9f5182576eb4a990d385ff8ce4ebd417c (diff) | |
download | tangerine-wallet-browser-537328b5298a42f9d20862d42b9012babcda373c.tar tangerine-wallet-browser-537328b5298a42f9d20862d42b9012babcda373c.tar.gz tangerine-wallet-browser-537328b5298a42f9d20862d42b9012babcda373c.tar.bz2 tangerine-wallet-browser-537328b5298a42f9d20862d42b9012babcda373c.tar.lz tangerine-wallet-browser-537328b5298a42f9d20862d42b9012babcda373c.tar.xz tangerine-wallet-browser-537328b5298a42f9d20862d42b9012babcda373c.tar.zst tangerine-wallet-browser-537328b5298a42f9d20862d42b9012babcda373c.zip |
Merge pull request #303 from MetaMask/AutoLint
Auto lint
Diffstat (limited to 'ui/app/template.js')
-rw-r--r-- | ui/app/template.js | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/ui/app/template.js b/ui/app/template.js index f16f3c363..d15b30fd2 100644 --- a/ui/app/template.js +++ b/ui/app/template.js @@ -2,29 +2,28 @@ const inherits = require('util').inherits const Component = require('react').Component const h = require('react-hyperscript') const connect = require('react-redux').connect -const actions = require('./actions') module.exports = connect(mapStateToProps)(COMPONENTNAME) -function mapStateToProps(state) { +function mapStateToProps (state) { return {} } inherits(COMPONENTNAME, Component) -function COMPONENTNAME() { +function COMPONENTNAME () { Component.call(this) } -COMPONENTNAME.prototype.render = function() { +COMPONENTNAME.prototype.render = function () { const props = this.props return ( h('div', { style: { background: 'blue', - } + }, }, [ - 'Hello, world!' + `Hello, ${props.sender}`, ]) ) } |