Skip to content

Commit 3463346

Browse files
committed
fix: cancel on oauth doesnt work
1 parent 9dca1f6 commit 3463346

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

apps/twig/src/renderer/features/auth/components/LoginForm.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ export function LoginForm({
5353
type="button"
5454
size="3"
5555
onClick={handleButtonClick}
56-
disabled={isLoading}
56+
disabled={isLoading && !isPending}
5757
style={{
5858
backgroundColor: isPending ? "var(--gray-8)" : "var(--cave-charcoal)",
5959
color: isPending ? "var(--gray-11)" : "var(--cave-cream)",

0 commit comments

Comments
 (0)