From e37926be57b92c6aa7bdc3316b69542f713ebde4 Mon Sep 17 00:00:00 2001 From: Lucas Schumacher Date: Mon, 30 Oct 2023 22:49:16 -0400 Subject: [PATCH] Clean up Signup page --- client/src/components/Login.vue | 2 +- client/src/components/Signup.vue | 34 ++++++++++++-------------------- 2 files changed, 14 insertions(+), 22 deletions(-) diff --git a/client/src/components/Login.vue b/client/src/components/Login.vue index c935a7e..c1d7d42 100644 --- a/client/src/components/Login.vue +++ b/client/src/components/Login.vue @@ -65,7 +65,7 @@ onMounted(async () => { -

© 2023

+

© 2023 Lucas Schumacher

diff --git a/client/src/components/Signup.vue b/client/src/components/Signup.vue index 96c6c24..a50fdd0 100644 --- a/client/src/components/Signup.vue +++ b/client/src/components/Signup.vue @@ -29,6 +29,7 @@ async function signup(ev) { let resp = await fetch(api_url, fetch_options) console.log(resp) if (resp.ok) { + err.value = '' let ans = await resp.json() console.log(ans) @@ -54,30 +55,29 @@ async function signup(ev) { -
+
-
-

{{ err }}

-
-
- Already have an account? - Log in + + -

© 2023

+ +
+ Already have an account? + Log in +
+

© 2023 Lucas Schumacher