aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/notice.js
diff options
context:
space:
mode:
authorChi Kei Chan <chikeichan@gmail.com>2017-10-03 02:08:34 +0800
committerChi Kei Chan <chikeichan@gmail.com>2017-10-21 12:51:37 +0800
commitac50db52a9e86bfef9a47fbea3feb7fe78947566 (patch)
treebb8f6e61a4fa3cbcf3ac50a422e80c5673f41fa0 /ui/app/components/notice.js
parent5cbbb476b3eb7a5fd70b014b2a1a83fea7092b58 (diff)
downloadtangerine-wallet-browser-ac50db52a9e86bfef9a47fbea3feb7fe78947566.tar.gz
tangerine-wallet-browser-ac50db52a9e86bfef9a47fbea3feb7fe78947566.tar.zst
tangerine-wallet-browser-ac50db52a9e86bfef9a47fbea3feb7fe78947566.zip
Fix linter
Diffstat (limited to 'ui/app/components/notice.js')
-rw-r--r--ui/app/components/notice.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/ui/app/components/notice.js b/ui/app/components/notice.js
index c26505193..09d461c7b 100644
--- a/ui/app/components/notice.js
+++ b/ui/app/components/notice.js
@@ -117,6 +117,7 @@ Notice.prototype.render = function () {
}
Notice.prototype.componentDidMount = function () {
+ // eslint-disable-next-line react/no-find-dom-node
var node = findDOMNode(this)
linker.setupListener(node)
if (document.getElementsByClassName('notice-box')[0].clientHeight < 310) {
@@ -125,6 +126,7 @@ Notice.prototype.componentDidMount = function () {
}
Notice.prototype.componentWillUnmount = function () {
+ // eslint-disable-next-line react/no-find-dom-node
var node = findDOMNode(this)
linker.teardownListener(node)
}