We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0753441 commit 93e7760Copy full SHA for 93e7760
apps/web/pages/payment-cancel/index.tsx
@@ -14,6 +14,11 @@ export default function PaymentCancel() {
14
<PaymentSuccessConfirmationModal paymentStatus={CONSTANTS.PAYMENT_FAILED_CODE as 'failed'} />
15
</Stack>
16
),
17
+ onClose: () => {
18
+ if (typeof window !== 'undefined') {
19
+ window.location.href = '/';
20
+ }
21
+ },
22
});
23
}, []);
24
apps/web/pages/subscription_status/index.tsx
@@ -21,6 +21,11 @@ export default function SubscriptionStatus() {
<PaymentSuccessConfirmationModal paymentStatus={CONSTANTS.PAYMENT_SUCCCESS_CODE as 'failed'} />
25
26
27
28
29
30
31
0 commit comments