aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/copyButton.js
diff options
context:
space:
mode:
authorKevin Serrano <kevgagser@gmail.com>2016-11-12 02:26:12 +0800
committerKevin Serrano <kevgagser@gmail.com>2016-11-12 02:26:12 +0800
commit23263bec7d5100accd61f7648fd9355fc95e2bb7 (patch)
tree3c24f23655b5e1aad7102b603412d6fae70d5e43 /ui/app/components/copyButton.js
parentc664b8f11e32eaa7f8f1b46d4be938f2ebb74d35 (diff)
downloadtangerine-wallet-browser-23263bec7d5100accd61f7648fd9355fc95e2bb7.tar.gz
tangerine-wallet-browser-23263bec7d5100accd61f7648fd9355fc95e2bb7.tar.zst
tangerine-wallet-browser-23263bec7d5100accd61f7648fd9355fc95e2bb7.zip
Linting to the max.
Diffstat (limited to 'ui/app/components/copyButton.js')
-rw-r--r--ui/app/components/copyButton.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/ui/app/components/copyButton.js b/ui/app/components/copyButton.js
index a01603585..a25d0719c 100644
--- a/ui/app/components/copyButton.js
+++ b/ui/app/components/copyButton.js
@@ -50,12 +50,10 @@ CopyButton.prototype.render = function () {
])
}
-CopyButton.prototype.debounceRestore = function() {
-
+CopyButton.prototype.debounceRestore = function () {
this.setState({ copied: true })
clearTimeout(this.timeout)
this.timeout = setTimeout(() => {
this.setState({ copied: false })
}, 850)
-
}