From b098c9d3bd6c8e4aa32ac51b55e31b06c270bb8f Mon Sep 17 00:00:00 2001 From: Luminarys Date: Sun, 22 Oct 2017 21:21:28 -0700 Subject: [PATCH] Properly use password from localStorage --- src/ui/connection.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ui/connection.js b/src/ui/connection.js index 66c44e5..7c7e6cb 100644 --- a/src/ui/connection.js +++ b/src/ui/connection.js @@ -23,7 +23,7 @@ class ConnectionOverlay extends Component { const password = localStorage.getItem("password"); this.state = { uri: uri || "ws://127.0.0.1:8412", - password: null, + password, autoconnect: !!uri }; if (uri) {