Finished inaugural login and signup pages

modified:   src/pages/login.rs
	modified:   src/pages/signup.rs
This commit is contained in:
2024-02-23 16:24:05 -05:00
parent 2ab1f44317
commit 5650882ba8
2 changed files with 10 additions and 4 deletions

View File

@ -21,7 +21,7 @@ pub fn Signup() -> impl IntoView {
password: Some(password.get()),
created_at: None,
};
log!("new user: {:?}", new_user);
spawn_local(async move {
if let Err(err) = signup(new_user).await {
// Handle the error here, e.g., log it or display to the user