fix(subscription): return to sidebar after payment

This commit is contained in:
2026-06-30 19:01:17 +08:00
parent e7a9e7abe5
commit d33c34d751
@@ -133,9 +133,7 @@ export function useSubscriptionPaymentFlow({
router.replace(pendingExitUrl); router.replace(pendingExitUrl);
return; return;
} }
if (returnTo === "chat") { router.replace(consumeSubscriptionExitUrl(returnTo));
router.replace(consumeSubscriptionExitUrl(returnTo));
}
}; };
return { return {