aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/send/memo-textarea.js
diff options
context:
space:
mode:
authorDan <danjm.com@gmail.com>2017-11-02 10:30:33 +0800
committerDan <danjm.com@gmail.com>2017-11-02 10:30:33 +0800
commit5a94775b3fa22517a71232ebe229ee83e9debcf1 (patch)
treed24002047f9b6124a931c7ee5173023ba0adb4e3 /ui/app/components/send/memo-textarea.js
parentc8c918d44e26e9541beead982ef0ed79a56d6e6f (diff)
downloadtangerine-wallet-browser-5a94775b3fa22517a71232ebe229ee83e9debcf1.tar.gz
tangerine-wallet-browser-5a94775b3fa22517a71232ebe229ee83e9debcf1.tar.zst
tangerine-wallet-browser-5a94775b3fa22517a71232ebe229ee83e9debcf1.zip
Lint fixes for NewUI-flat.
Diffstat (limited to 'ui/app/components/send/memo-textarea.js')
-rw-r--r--ui/app/components/send/memo-textarea.js50
1 files changed, 25 insertions, 25 deletions
diff --git a/ui/app/components/send/memo-textarea.js b/ui/app/components/send/memo-textarea.js
index 4005b9493..f5fe5e790 100644
--- a/ui/app/components/send/memo-textarea.js
+++ b/ui/app/components/send/memo-textarea.js
@@ -1,33 +1,33 @@
-const Component = require('react').Component
-const h = require('react-hyperscript')
-const inherits = require('util').inherits
-const Identicon = require('../identicon')
+// const Component = require('react').Component
+// const h = require('react-hyperscript')
+// const inherits = require('util').inherits
+// const Identicon = require('../identicon')
-module.exports = MemoTextArea
+// module.exports = MemoTextArea
-inherits(MemoTextArea, Component)
-function MemoTextArea () {
- Component.call(this)
-}
+// inherits(MemoTextArea, Component)
+// function MemoTextArea () {
+// Component.call(this)
+// }
-MemoTextArea.prototype.render = function () {
- const { memo, identities, onChange } = this.props
+// MemoTextArea.prototype.render = function () {
+// const { memo, identities, onChange } = this.props
- return h('div.send-v2__memo-text-area', [
+// return h('div.send-v2__memo-text-area', [
- h('textarea.send-v2__memo-text-area__input', {
- placeholder: 'Optional',
- value: memo,
- onChange,
- // onBlur: () => {
- // this.setErrorsFor('memo')
- // },
- onFocus: event => {
- // this.clearErrorsFor('memo')
- },
- }),
+// h('textarea.send-v2__memo-text-area__input', {
+// placeholder: 'Optional',
+// value: memo,
+// onChange,
+// // onBlur: () => {
+// // this.setErrorsFor('memo')
+// // },
+// onFocus: event => {
+// // this.clearErrorsFor('memo')
+// },
+// }),
- ])
+// ])
-}
+// }