account settings actions, account deletion left

This commit is contained in:
m5r
2022-05-14 14:43:45 +02:00
parent 98b89ae0f7
commit 48b3604116
17 changed files with 314 additions and 239 deletions

View File

@ -37,21 +37,13 @@ export default function RegisterPage() {
</div>
) : null}
<LabeledTextField
name="orgName"
type="text"
label="Organization name"
disabled={isSubmitting}
error={actionData?.errors?.orgName}
tabIndex={1}
/>
<LabeledTextField
name="fullName"
type="text"
label="Full name"
disabled={isSubmitting}
error={actionData?.errors?.fullName}
tabIndex={2}
tabIndex={1}
/>
<LabeledTextField
name="email"
@ -59,7 +51,7 @@ export default function RegisterPage() {
label="Email"
disabled={isSubmitting}
error={actionData?.errors?.email}
tabIndex={3}
tabIndex={2}
/>
<LabeledTextField
name="password"
@ -67,13 +59,13 @@ export default function RegisterPage() {
label="Password"
disabled={isSubmitting}
error={actionData?.errors?.password}
tabIndex={4}
tabIndex={3}
/>
<Button
type="submit"
disabled={transition.state === "submitting"}
tabIndex={5}
tabIndex={4}
>
Register
</Button>