File tree Expand file tree Collapse file tree 1 file changed +0
-5
lines changed
autogpt_platform/frontend/src/app/(platform)/login Expand file tree Collapse file tree 1 file changed +0
-5
lines changed Original file line number Diff line number Diff line change @@ -45,7 +45,6 @@ export function useLoginPage() {
45
45
} ) ;
46
46
47
47
setIsGoogleLoading ( false ) ;
48
- captchaRef ?. reset ( ) ;
49
48
return ;
50
49
}
51
50
@@ -54,7 +53,6 @@ export function useLoginPage() {
54
53
if ( error ) throw error ;
55
54
setFeedback ( null ) ;
56
55
} catch ( error ) {
57
- captchaRef ?. reset ( ) ;
58
56
setIsGoogleLoading ( false ) ;
59
57
const errorString = JSON . stringify ( error ) ;
60
58
if ( errorString . includes ( "not_allowed" ) ) {
@@ -74,7 +72,6 @@ export function useLoginPage() {
74
72
} ) ;
75
73
76
74
setIsLoading ( false ) ;
77
- captchaRef ?. reset ( ) ;
78
75
return ;
79
76
}
80
77
@@ -85,7 +82,6 @@ export function useLoginPage() {
85
82
} ) ;
86
83
87
84
setIsLoading ( false ) ;
88
- captchaRef ?. reset ( ) ;
89
85
return ;
90
86
}
91
87
@@ -98,7 +94,6 @@ export function useLoginPage() {
98
94
variant : "destructive" ,
99
95
} ) ;
100
96
101
- captchaRef ?. reset ( ) ;
102
97
return ;
103
98
}
104
99
setFeedback ( null ) ;
You can’t perform that action at this time.
0 commit comments