From 5478c135d1ab06ec717207c45517c30538d029fd Mon Sep 17 00:00:00 2001 From: Bailey Pumfleet Date: Tue, 28 Sep 2021 11:43:15 +0100 Subject: [PATCH] Set tabIndex for forgot password & add loader (#807) --- pages/auth/login.tsx | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pages/auth/login.tsx b/pages/auth/login.tsx index fcf56c4d14..37b5c88204 100644 --- a/pages/auth/login.tsx +++ b/pages/auth/login.tsx @@ -5,6 +5,7 @@ import { useState } from "react"; import { ErrorCode, getSession } from "@lib/auth"; +import Loader from "@components/Loader"; import { HeadSeo } from "@components/seo/head-seo"; const errorMessages: { [key: string]: string } = { @@ -72,6 +73,13 @@ export default function Login({ csrfToken }) { return (
+ + {isSubmitting && ( +
+ +
+ )} +
Cal.com Logo

@@ -110,7 +118,9 @@ export default function Login({ csrfToken }) {

- Forgot? + + Forgot? +