aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/new-keychain.js
blob: d6fefd0c7a1411bf2aba6dfc1c0432f4e7984f9c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
const inherits = require('util').inherits
const Component = require('react').Component
const h = require('react-hyperscript')
const connect = require('react-redux').connect

module.exports = connect(mapStateToProps)(NewKeychain)

function mapStateToProps (state) {
  return {}
}

inherits(NewKeychain, Component)
function NewKeychain () {
  Component.call(this)
}

NewKeychain.prototype.render = function () {
  const props = this.props

  return (
    h('div', {
      style: {
        background: 'blue',
      },
    }, [
      h('h1',`Here's a list!!!!`),
      h('button',
        {
          onClick: () => this.props.dispatch(actions.goHome())
        })
    ])
  )
}