From 2ac3c39a9c80305bb959d88561e78f65a1cd1be1 Mon Sep 17 00:00:00 2001
From: MohamedBassem <me@mbassem.com>
Date: Thu, 22 Feb 2024 17:33:12 +0000
Subject: feature: Adding some loading card while the link is getting crawled

---
 packages/web/app/signin/components/CredentialsForm.tsx | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'packages/web/app/signin/components/CredentialsForm.tsx')

diff --git a/packages/web/app/signin/components/CredentialsForm.tsx b/packages/web/app/signin/components/CredentialsForm.tsx
index 60b61156..f47708f6 100644
--- a/packages/web/app/signin/components/CredentialsForm.tsx
+++ b/packages/web/app/signin/components/CredentialsForm.tsx
@@ -84,7 +84,7 @@ function SignIn() {
               );
             }}
           />
-          <ActionButton type="submit" loading={false}>
+          <ActionButton type="submit" loading={form.formState.isSubmitting}>
             Sign In
           </ActionButton>
         </div>
@@ -195,7 +195,7 @@ function SignUp() {
               );
             }}
           />
-          <ActionButton type="submit" loading={false}>
+          <ActionButton type="submit" loading={form.formState.isSubmitting}>
             Sign Up
           </ActionButton>
         </div>
-- 
cgit v1.2.3-70-g09d2

