Skip to content

Commit 9c5b8a2

Browse files
committed
Don't close sign in connection when reconnecting
1 parent 04a5d32 commit 9c5b8a2

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Auth/SignInModal.tsx

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -208,14 +208,6 @@ function SignInModal({ onCloseRequest }: SignInModalProps) {
208208
onCloseRequest?.();
209209
}
210210

211-
useEffect(() => {
212-
if (authInfo.isReconnecting) {
213-
cancelSignIn();
214-
}
215-
}, [
216-
authInfo.isReconnecting,
217-
]);
218-
219211
return (
220212
<StyledModal
221213
onCloseRequest={handleCloseRequest}

0 commit comments

Comments
 (0)