aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/copyButton.js
diff options
context:
space:
mode:
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)
-
}