summaryrefslogtreecommitdiffhomepage
path: root/app
diff options
context:
space:
mode:
authorAndrej Mihajlov <and@mullvad.net>2018-01-29 15:20:18 +0100
committerAndrej Mihajlov <and@mullvad.net>2018-01-29 15:20:18 +0100
commita5eda4cef865005a13a751c32d42acafcc49a59c (patch)
tree9fffb4c0fe7042262dfe2be6c85f9b30591b9bc8 /app
parent2fdadcd80b2425d6e82082e735de903c6a551d2e (diff)
downloadmullvadvpn-a5eda4cef865005a13a751c32d42acafcc49a59c.tar.xz
mullvadvpn-a5eda4cef865005a13a751c32d42acafcc49a59c.zip
Remove unnecessary clean up in componentWillUnmount
Diffstat (limited to 'app')
-rw-r--r--app/components/Connect.js5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/components/Connect.js b/app/components/Connect.js
index d29ac57c44..1c1a4bac1e 100644
--- a/app/components/Connect.js
+++ b/app/components/Connect.js
@@ -58,12 +58,7 @@ export default class Connect extends Component {
componentWillUnmount() {
if(this._copyTimer) {
clearTimeout(this._copyTimer);
- this._copyTimer = null;
}
-
- this.setState({
- showCopyIPMessage: false
- });
}
render() {