Pārlūkot izejas kodu

fix timeout

master
Alex Cheung pirms 1 gada
vecāks
revīzija
beb3ffd25d
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      src/pages/Payment/FPS/FPS.js

+ 1
- 1
src/pages/Payment/FPS/FPS.js Parādīt failu

@@ -166,7 +166,7 @@ const Index = () => {
const currentTime = new Date;
console.log(time)
getPaymentStatus();
if (timeOutDate.getTime()>currentTime.getTime()){
if (timeOutDate.getTime()<currentTime.getTime()){
console.log("stop");
clearInterval(currentTimer.current);
}


Notiek ielāde…
Atcelt
Saglabāt