Apply patch [skip ci]
This commit is contained in:
parent
4fd6ea2c1d
commit
9d32ac4968
@ -123,7 +123,7 @@ export default function PaymentMethodsList(
|
||||
|
||||
if (data.success) {
|
||||
// Refresh the page to show updated default
|
||||
window.location.reload();
|
||||
globalThis.location.reload();
|
||||
} else {
|
||||
console.error("Failed to set default payment method:", data.error);
|
||||
alert("Failed to set default payment method");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user