From 1cb69a75a50629882aa45574b44c2a8b19eb3908 Mon Sep 17 00:00:00 2001 From: plebbitor Date: Wed, 22 Mar 2023 20:55:36 +0100 Subject: [PATCH] fix findDOMNode captcha modal --- src/components/CaptchaModal.jsx | 6 +- yarn.lock | 186 +------------------------------- 2 files changed, 9 insertions(+), 183 deletions(-) diff --git a/src/components/CaptchaModal.jsx b/src/components/CaptchaModal.jsx index 7b76cd07..aaf23fce 100644 --- a/src/components/CaptchaModal.jsx +++ b/src/components/CaptchaModal.jsx @@ -257,6 +257,8 @@ const CaptchaModal = ({ isOpen, closeModal, captchaImage }) => { setCaptchaResponse(event.target.value); }; + const nodeRef = React.useRef(null); + return ( { shouldCloseOnOverlayClick={false} selectedStyle={selectedStyle} overlayClassName="hide-modal-overlay"> - -
+ +
Challenges for