stupid lines of cleanup
This commit is contained in:
+4
-2
@@ -20,7 +20,6 @@ pub enum Command {
|
||||
Connect {
|
||||
address: String,
|
||||
username: String,
|
||||
hash: String,
|
||||
},
|
||||
SendChat {
|
||||
markdown: String,
|
||||
@@ -348,7 +347,10 @@ pub fn LoginView() -> Element {
|
||||
);
|
||||
|
||||
let do_connect = move |_| {
|
||||
net.send(Connect{address: address.read().clone(), username: username.read().clone(), hash: "[39, 96, 204, 127, 26, 59, 35, 209, 197, 103, 192, 6, 3, 98, 203, 228, 124, 46, 247, 72, 44, 224, 123, 238, 218, 140, 128, 100, 115, 14, 23, 233]".to_string()})
|
||||
net.send(Connect {
|
||||
address: address.read().clone(),
|
||||
username: username.read().clone(),
|
||||
})
|
||||
};
|
||||
let status = &STATE.status;
|
||||
let bottom = match &*status.read() {
|
||||
|
||||
Reference in New Issue
Block a user