From: Dessalines Date: Fri, 30 Jul 2021 15:56:33 +0000 (-0400) Subject: Fix captcha replay issue. X-Git-Url: http://these/git/%22https:/lemmy.ml/u/Liwott/%7BpictshareAvatarThumbnail%28?a=commitdiff_plain;h=6994a3a6913ff3eabe98f5f182343d58ffb6a3a0;p=lemmy-ui.git Fix captcha replay issue. --- diff --git a/src/shared/components/home/login.tsx b/src/shared/components/home/login.tsx index e578255..b227d64 100644 --- a/src/shared/components/home/login.tsx +++ b/src/shared/components/home/login.tsx @@ -408,6 +408,8 @@ export class Login extends Component { handleRegenCaptcha(i: Login) { i.audio = null; + i.state.captchaPlaying = false; + i.setState(i.state); WebSocketService.Instance.send(wsClient.getCaptcha()); }