From 767c2e3966d570d1ebad77ed471dc1c870a013e5 Mon Sep 17 00:00:00 2001 From: m5r Date: Sat, 25 Sep 2021 21:15:16 +0800 Subject: [PATCH] style registration form --- app/auth/components/auth-form.tsx | 6 +-- app/auth/components/labeled-text-field.tsx | 2 +- app/auth/components/signup-form.tsx | 44 ------------------ app/auth/mutations/signup.ts | 3 +- app/auth/pages/sign-up.tsx | 54 ++++++++++++++++++++++ app/auth/pages/signup.tsx | 21 --------- app/auth/validations.ts | 1 + 7 files changed, 61 insertions(+), 70 deletions(-) delete mode 100644 app/auth/components/signup-form.tsx create mode 100644 app/auth/pages/sign-up.tsx delete mode 100644 app/auth/pages/signup.tsx diff --git a/app/auth/components/auth-form.tsx b/app/auth/components/auth-form.tsx index 843a2c2..571b5d1 100644 --- a/app/auth/components/auth-form.tsx +++ b/app/auth/components/auth-form.tsx @@ -71,14 +71,14 @@ export function AuthForm>({ className="form" {...props} > - {children} - {formError ? ( -
+
) : null} + {children} +