mirror of
https://github.com/AustinKelsay/plebdevs.git
synced 2025-04-19 19:01:19 +00:00
Dont reload on purchase
This commit is contained in:
parent
173632deb8
commit
a531798529
@ -202,7 +202,6 @@ const Course = () => {
|
||||
const updated = await update();
|
||||
console.log("session after update", updated);
|
||||
showToast('success', 'Payment Success', 'You have successfully purchased this course');
|
||||
router.reload();
|
||||
} else {
|
||||
showToast('error', 'Error', 'Failed to purchase course. Please try again.');
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user