last update

This commit is contained in:
Ehsan
2025-05-23 18:06:48 +03:30
parent 378a42436b
commit 660117f6e8
4 changed files with 14 additions and 7 deletions
+5 -3
View File
@@ -36,9 +36,9 @@ function SetCodePage({ setIsSendMsg, link, num, setStep }) {
if (newCode.join("").length === 4 && isError) {
setIsError(false);
}
if (newCode.join("").length === 4) {
handleReq();
}
// if (newCode.join("").length === 4) {
// handleReq();
// }
setCode(newCode);
@@ -61,6 +61,8 @@ function SetCodePage({ setIsSendMsg, link, num, setStep }) {
}, 1000);
};
console.log(num);
const handleReq = () => {
setLoading(true);
request