Przeglądaj źródła

fix timeout

master
Alex Cheung 1 rok temu
rodzic
commit
beb3ffd25d
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/pages/Payment/FPS/FPS.js

+ 1
- 1
src/pages/Payment/FPS/FPS.js Wyświetl plik

@@ -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);
}


Ładowanie…
Anuluj
Zapisz