Skip to content

Commit

Permalink
chore: change to untracked
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael-Liendo committed Jul 20, 2024
1 parent e44414b commit 69446e9
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions crates/web/src/views/signup.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand All @@ -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;

Expand Down

0 comments on commit 69446e9

Please sign in to comment.