pub(crate) mod components; pub(crate) mod hooks; pub(crate) mod layouts; pub(crate) mod store; use dioxus::prelude::{GlobalSignal, Signal}; use super::domain::model::{account::Account, session::Session}; use store::Store; pub static STORE: GlobalSignal = Signal::global(Store::new); // TODO: Merge ACCOUNT and SESSION pub static ACCOUNT: GlobalSignal = Signal::global(|| Account::new(&STORE)); pub static SESSION: GlobalSignal = Signal::global(Session::new);