enable overlay for ReplyModal mobile

This commit is contained in:
Tom
2023-05-11 15:24:46 +02:00
parent 4f6b6d18cb
commit 46228ffa5d
3 changed files with 3 additions and 7 deletions
+1 -1
View File
@@ -18,7 +18,7 @@ const CaptchaModal = () => {
const [imageSources, setImageSources] = useState([]);
const [currentChallengeIndex, setCurrentChallengeIndex] = useState(0);
const [totalChallenges, setTotalChallenges] = useState(0);
const [isMobile, setIsMobile] = useState(window.innerWidth <= 480);
const [isMobile, setIsMobile] = useState(window.innerWidth <= 480);
const responseRef = useRef();
const nodeRef = useRef(null);