Properly use password from localStorage

This commit is contained in:
Luminarys 2017-10-22 21:21:28 -07:00
parent b7b48916cd
commit b098c9d3bd

View File

@ -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) {