tracing package doesn't support web platform when dioxus-logger `will eventually support every target that Dioxus does. Currently only web and desktop platforms are supported.`
16 lines
295 B
Rust
16 lines
295 B
Rust
use dioxus::prelude::*;
|
|
use log::debug;
|
|
|
|
use crate::base::SESSION;
|
|
use crate::ui::components::contacts_window::ContactsWindow;
|
|
|
|
pub fn MainWindow() -> Element {
|
|
debug!("MainWindow rendering");
|
|
|
|
rsx! {
|
|
if SESSION.read().is_logged {
|
|
ContactsWindow {}
|
|
}
|
|
}
|
|
}
|