Fixed mission form
This commit is contained in:
@@ -66,12 +66,7 @@ export const PasswortReset = () => {
|
||||
<path d="M2.5 3A1.5 1.5 0 0 0 1 4.5v.793c.026.009.051.02.076.032L7.674 8.51c.206.1.446.1.652 0l6.598-3.185A.755.755 0 0 1 15 5.293V4.5A1.5 1.5 0 0 0 13.5 3h-11Z" />
|
||||
<path d="M15 6.954 8.978 9.86a2.25 2.25 0 0 1-1.956 0L1 6.954V11.5A1.5 1.5 0 0 0 2.5 13h11a1.5 1.5 0 0 0 1.5-1.5V6.954Z" />
|
||||
</svg>
|
||||
<input
|
||||
type="text"
|
||||
className="grow"
|
||||
{...form.register("email")}
|
||||
placeholder="Email"
|
||||
/>
|
||||
<input type="text" className="grow" {...form.register("email")} placeholder="Email" />
|
||||
</label>
|
||||
<p className="text-error">
|
||||
{typeof form.formState.errors.email?.message === "string"
|
||||
@@ -80,15 +75,11 @@ export const PasswortReset = () => {
|
||||
</p>
|
||||
<span className="text-sm font-medium flex justify-end">
|
||||
<Link href="/passwort-reset" className="link link-accent link-hover ">
|
||||
Passwort vergessen?
|
||||
neues Passwort anfordern
|
||||
</Link>
|
||||
</span>
|
||||
<div className="card-actions mt-6">
|
||||
<Button
|
||||
disabled={isLoading}
|
||||
isLoading={isLoading}
|
||||
className="btn btn-primary btn-block"
|
||||
>
|
||||
<Button disabled={isLoading} isLoading={isLoading} className="btn btn-primary btn-block">
|
||||
Login
|
||||
</Button>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user