|
|
@@ -16,7 +16,6 @@ import * as HttpUtils from "utils/HttpUtils" |
|
|
|
import * as UrlUtils from "utils/ApiPathConst" |
|
|
|
import * as DateUtils from "utils/DateUtils" |
|
|
|
import * as FormatUtils from "utils/FormatUtils" |
|
|
|
import { useNavigate } from "react-router-dom"; |
|
|
|
import { useParams } from "react-router-dom"; |
|
|
|
import Loadable from 'components/Loadable'; |
|
|
|
const MainCard = Loadable(React.lazy(() => import('components/MainCard'))); |
|
|
@@ -30,7 +29,6 @@ const ApplicationDetailCard = ({ |
|
|
|
}) => { |
|
|
|
|
|
|
|
const params = useParams(); |
|
|
|
const navigate = useNavigate() |
|
|
|
|
|
|
|
const [data, setData] = React.useState({}); |
|
|
|
const [cancelPopUp, setCancelPopUp] = React.useState(false); |
|
|
@@ -75,7 +73,7 @@ const ApplicationDetailCard = ({ |
|
|
|
HttpUtils.get({ |
|
|
|
url: UrlUtils.CANCEL_PROOF+"/"+params.id, |
|
|
|
onSuccess: function(){ |
|
|
|
navigate("/proof/reply/"+params.id); |
|
|
|
window.location.reload(false); |
|
|
|
} |
|
|
|
}); |
|
|
|
} |
|
|
|