FIX #149 Redirect name issue
This commit is contained in:
parent
d4bc349f95
commit
89b334e17a
|
|
@ -126,7 +126,7 @@ const PlanExpireNotification = () => {
|
|||
const res = await dispatch(PublicQrCodepost(postData)).unwrap();
|
||||
// navigate(`${commonDirectory}invoice-details`);
|
||||
if (res?.data?.statusCode == 1) {
|
||||
navigate(`${commonDirectory}invoice-details/${res?.data?.ReferenceNo}`);
|
||||
navigate(`${commonDirectory}invoice-detail/${res?.data?.ReferenceNo}`);
|
||||
setExtendModel(false);
|
||||
}
|
||||
} catch (error) {
|
||||
|
|
|
|||
|
|
@ -113,7 +113,7 @@ const ExtendSubscriptionModal = ({
|
|||
const res = await dispatch(PublicQrCodepost(postData)).unwrap();
|
||||
// navigate(`${commonDirectory}invoice-details`);
|
||||
if (res?.data?.statusCode == 1) {
|
||||
navigate(`${commonDirectory}invoice-details/${res?.data?.ReferenceNo}`);
|
||||
navigate(`${commonDirectory}invoice-detail/${res?.data?.ReferenceNo}`);
|
||||
setExtendModel(false)
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue