diff options
| author | MohamedBassem <me@mbassem.com> | 2024-02-22 17:33:12 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-02-22 17:34:37 +0000 |
| commit | 2ac3c39a9c80305bb959d88561e78f65a1cd1be1 (patch) | |
| tree | abdf860a648d691377914702f4d5c804e02fd341 /packages/web/app/signin/components/CredentialsForm.tsx | |
| parent | 61a1b2f40cf69d8c2055becf9119881cafa9da81 (diff) | |
| download | karakeep-2ac3c39a9c80305bb959d88561e78f65a1cd1be1.tar.zst | |
feature: Adding some loading card while the link is getting crawled
Diffstat (limited to 'packages/web/app/signin/components/CredentialsForm.tsx')
| -rw-r--r-- | packages/web/app/signin/components/CredentialsForm.tsx | 4 |
1 files changed, 2 insertions, 2 deletions
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> |
