💄 Rework Login component
This commit is contained in:
@@ -4,7 +4,6 @@ use tracing::debug;
|
||||
|
||||
use crate::base::SESSION;
|
||||
use crate::components::contacts_window::ContactsWindow;
|
||||
use crate::components::login::Login;
|
||||
|
||||
pub fn MainWindow(cx: Scope) -> Element {
|
||||
debug!("MainWindow rendering");
|
||||
@@ -16,8 +15,5 @@ pub fn MainWindow(cx: Scope) -> Element {
|
||||
if is_logged {
|
||||
rsx!(ContactsWindow {})
|
||||
}
|
||||
else {
|
||||
rsx!(Login {})
|
||||
}
|
||||
})
|
||||
}
|
||||
|
Reference in New Issue
Block a user