This commit is contained in:
@@ -247,7 +247,7 @@ export default function SubscriptionPage() {
|
||||
.catch((err: any) => {
|
||||
if (cancelled) return
|
||||
if (err?.statusCode === 401) {
|
||||
router.replace('/sign-in?redirect=%2Fsubscription')
|
||||
window.location.replace('/dashboard/sign-in?redirect=%2Fdashboard%2Fsubscription')
|
||||
return
|
||||
}
|
||||
if (err?.statusCode === 403) {
|
||||
|
||||
Reference in New Issue
Block a user