✨ Use of Conversations layout
This commit is contained in:
@@ -1,3 +1,13 @@
|
||||
pub(crate) mod components;
|
||||
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<Store> = Signal::global(Store::new);
|
||||
// TODO: Merge ACCOUNT and SESSION
|
||||
pub static ACCOUNT: GlobalSignal<Account> = Signal::global(|| Account::new(&STORE));
|
||||
pub static SESSION: GlobalSignal<Session> = Signal::global(Session::new);
|
||||
|
Reference in New Issue
Block a user