Explorar el Código

fix timeout

master
Alex Cheung hace 1 año
padre
commit
beb3ffd25d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      src/pages/Payment/FPS/FPS.js

+ 1
- 1
src/pages/Payment/FPS/FPS.js Ver fichero

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


Cargando…
Cancelar
Guardar