Browse Source

fix timeout

master
Alex Cheung 1 year ago
parent
commit
beb3ffd25d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/pages/Payment/FPS/FPS.js

+ 1
- 1
src/pages/Payment/FPS/FPS.js View File

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


Loading…
Cancel
Save