diff --git a/frontend/src/app.rs b/frontend/src/app.rs index 3d617c2..88148bc 100644 --- a/frontend/src/app.rs +++ b/frontend/src/app.rs @@ -31,6 +31,7 @@ fn InnerApp() -> impl IntoView { Effect::new(move |_| { spawn_local(async move { log::info!("App initialization started..."); + gloo_console::log!("APP INIT: Checking setup status..."); // Check if setup is needed via Server Function match shared::server_fns::auth::get_setup_status().await { diff --git a/frontend/src/store.rs b/frontend/src/store.rs index a30782b..e2bfb1c 100644 --- a/frontend/src/store.rs +++ b/frontend/src/store.rs @@ -9,6 +9,7 @@ use base64::{Engine as _, engine::general_purpose::STANDARD as BASE64}; pub fn show_toast(level: NotificationLevel, message: impl Into) { let msg = message.into(); + gloo_console::log!("TOAST CALL:", &msg, format!("{:?}", level)); log::info!("Displaying toast: [{:?}] {}", level, msg); match level { NotificationLevel::Info => { leptos_shadcn_toast::toast::info(&msg).show(); },