stupid lines of cleanup

This commit is contained in:
2024-11-08 20:15:04 -07:00
parent 011b66423a
commit 6c808694db
3 changed files with 7 additions and 10 deletions
+4 -2
View File
@@ -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() {