feat: enhance payment flow with automatic redirection to appointment history after successful payment
This commit is contained in:
@@ -15,7 +15,7 @@ function PaymentResultRedirect() {
|
||||
const q = status ? `?status=${status}` : "";
|
||||
router.replace(`/payment/${paymentUuid}${q}`);
|
||||
} else {
|
||||
router.replace("/dashboard?sidebar=2");
|
||||
router.replace("/dashboard?sidebar=1");
|
||||
}
|
||||
}, [searchParams, router]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user