ui(login): remove last-email display under submit button
This commit is contained in:
parent
3e229d0de1
commit
c71b5a19ed
@ -13,7 +13,6 @@ import {
|
|||||||
} from "@/shared/components/ui/card"
|
} from "@/shared/components/ui/card"
|
||||||
import {
|
import {
|
||||||
Field,
|
Field,
|
||||||
FieldDescription,
|
|
||||||
FieldError,
|
FieldError,
|
||||||
FieldGroup,
|
FieldGroup,
|
||||||
FieldLabel,
|
FieldLabel,
|
||||||
@ -129,15 +128,6 @@ export function LoginForm({
|
|||||||
<Button type="submit" disabled={isSubmitting}>
|
<Button type="submit" disabled={isSubmitting}>
|
||||||
{isSubmitting ? "Logging in..." : "Login"}
|
{isSubmitting ? "Logging in..." : "Login"}
|
||||||
</Button>
|
</Button>
|
||||||
|
|
||||||
{lastLoginEmail ? (
|
|
||||||
<FieldDescription className="text-center">
|
|
||||||
Last email used: {lastLoginEmail}
|
|
||||||
</FieldDescription>
|
|
||||||
) : null}
|
|
||||||
{/* <FieldDescription className="text-center">
|
|
||||||
Don't have an account? <a href="#">Sign up</a>
|
|
||||||
</FieldDescription> */}
|
|
||||||
</Field>
|
</Field>
|
||||||
</FieldGroup>
|
</FieldGroup>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user