Properly use password from localStorage
This commit is contained in:
parent
b7b48916cd
commit
b098c9d3bd
|
@ -23,7 +23,7 @@ class ConnectionOverlay extends Component {
|
||||||
const password = localStorage.getItem("password");
|
const password = localStorage.getItem("password");
|
||||||
this.state = {
|
this.state = {
|
||||||
uri: uri || "ws://127.0.0.1:8412",
|
uri: uri || "ws://127.0.0.1:8412",
|
||||||
password: null,
|
password,
|
||||||
autoconnect: !!uri
|
autoconnect: !!uri
|
||||||
};
|
};
|
||||||
if (uri) {
|
if (uri) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user