aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/pending-personal-msg.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-10-26 00:01:58 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-26 03:40:16 +0800
commit78836b0ead0e1b2307a48868c109a5412effc78b (patch)
tree164bcf1be8b4eea64ea145543d5508458f40c8f4 /ui/app/components/pending-personal-msg.js
parent0d39a3a8d445e3c18eea3509dc5049be4a6d2375 (diff)
downloadtangerine-wallet-browser-78836b0ead0e1b2307a48868c109a5412effc78b.tar
tangerine-wallet-browser-78836b0ead0e1b2307a48868c109a5412effc78b.tar.gz
tangerine-wallet-browser-78836b0ead0e1b2307a48868c109a5412effc78b.tar.bz2
tangerine-wallet-browser-78836b0ead0e1b2307a48868c109a5412effc78b.tar.lz
tangerine-wallet-browser-78836b0ead0e1b2307a48868c109a5412effc78b.tar.xz
tangerine-wallet-browser-78836b0ead0e1b2307a48868c109a5412effc78b.tar.zst
tangerine-wallet-browser-78836b0ead0e1b2307a48868c109a5412effc78b.zip
Signature Request
Diffstat (limited to 'ui/app/components/pending-personal-msg.js')
-rw-r--r--ui/app/components/pending-personal-msg.js47
1 files changed, 0 insertions, 47 deletions
diff --git a/ui/app/components/pending-personal-msg.js b/ui/app/components/pending-personal-msg.js
deleted file mode 100644
index 4542adb28..000000000
--- a/ui/app/components/pending-personal-msg.js
+++ /dev/null
@@ -1,47 +0,0 @@
-const Component = require('react').Component
-const h = require('react-hyperscript')
-const inherits = require('util').inherits
-const PendingTxDetails = require('./pending-personal-msg-details')
-
-module.exports = PendingMsg
-
-inherits(PendingMsg, Component)
-function PendingMsg () {
- Component.call(this)
-}
-
-PendingMsg.prototype.render = function () {
- var state = this.props
- var msgData = state.txData
-
- return (
-
- h('div', {
- key: msgData.id,
- }, [
-
- // header
- h('h3', {
- style: {
- fontWeight: 'bold',
- textAlign: 'center',
- },
- }, 'Sign Message'),
-
- // message details
- h(PendingTxDetails, state),
-
- // sign + cancel
- h('.flex-row.flex-space-around', [
- h('button', {
- onClick: state.cancelPersonalMessage,
- }, 'Cancel'),
- h('button', {
- onClick: state.signPersonalMessage,
- }, 'Sign'),
- ]),
- ])
-
- )
-}
-