From a7a1559e014c011444be39fc2f064b99af91310d Mon Sep 17 00:00:00 2001 From: Kevin Old Date: Thu, 5 Oct 2023 20:34:58 -0500 Subject: [PATCH] fix: update log debug to use get_untracked for logged in user to resolve client side error (#1834) --- examples/login_with_token_csr_only/client/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/login_with_token_csr_only/client/src/lib.rs b/examples/login_with_token_csr_only/client/src/lib.rs index 57cbc174aa..53b33f0d1c 100644 --- a/examples/login_with_token_csr_only/client/src/lib.rs +++ b/examples/login_with_token_csr_only/client/src/lib.rs @@ -70,7 +70,7 @@ pub fn App() -> impl IntoView { fetch_user_info.dispatch(()); } - log::debug!("User is logged in: {}", logged_in.get()); + log::debug!("User is logged in: {}", logged_in.get_untracked()); // -- effects -- //