소스 검색

fix bug

master
Anna Ho 1 년 전
부모
커밋
743bc3ce46
1개의 변경된 파일2개의 추가작업 그리고 8개의 파일을 삭제
  1. +2
    -8
      src/pages/Payment/PaymentCallback.js

+ 2
- 8
src/pages/Payment/PaymentCallback.js 파일 보기

@@ -37,17 +37,11 @@ const Index = () => {
const [transactionTime, setTransactionTime] = React.useState("");
const [onReady, setOnReady] = React.useState(false);
const updatePaymentApi = "/api/payment/updatepayment";
//const paymentStatusApi = "/api/payment/status/";
const paymentStatusApi = "/api/payment/status/";


React.useEffect(() => {
console.log("webtoken: " + localStorage.getItem("webtoken"));
if (localStorage.getItem("webtoken") != null && localStorage.getItem("webtoken") != "") {
loadForm();
}
// else{
// navigate("/dashboard");
// }
loadForm();
}, []);

React.useEffect(() => {


불러오는 중...
취소
저장