From 69446e99f27b4cd459cfefd0a779b754fd4bae66 Mon Sep 17 00:00:00 2001 From: Michael Liendo Date: Sat, 20 Jul 2024 18:48:13 -0400 Subject: [PATCH] chore: change to untracked --- crates/web/src/views/signup.rs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/crates/web/src/views/signup.rs b/crates/web/src/views/signup.rs index 7818c67..64be764 100644 --- a/crates/web/src/views/signup.rs +++ b/crates/web/src/views/signup.rs @@ -3,7 +3,7 @@ use std::str::FromStr; use crate::components::text_field::{TextField, TextFieldType}; use leptos::{ component, create_action, create_rw_signal, create_signal, view, IntoView, Show, SignalGet, - SignalSet, + SignalGetUntracked, SignalSet, }; use townhall_client::Client; use townhall_types::user::Email; @@ -23,11 +23,11 @@ pub fn Signup() -> impl IntoView { let res = client .auth .user_register(townhall_client::auth::user_register::UserRegisterInput { - name: name_value.get().into(), - surname: surname_value.get().into(), - username: username_value.get().into(), - email: Email::from_str(email_value.get().as_str()).unwrap(), - password: password_value.get().into(), + name: name_value.get_untracked().into(), + surname: surname_value.get_untracked().into(), + username: username_value.get_untracked().into(), + email: Email::from_str(email_value.get_untracked().as_str()).unwrap(), + password: password_value.get_untracked().into(), }) .await;