diff --git a/apps/web/app/auth/confirm/route.ts b/apps/web/app/auth/confirm/route.ts index 368c557..f582d95 100644 --- a/apps/web/app/auth/confirm/route.ts +++ b/apps/web/app/auth/confirm/route.ts @@ -6,7 +6,7 @@ export async function GET(request: NextRequest) { const { searchParams } = new URL(request.url); const token_hash = searchParams.get("token_hash"); const type = searchParams.get("type") as EmailOtpType | null; - const next = searchParams.get("next") ?? "/"; + const next = searchParams.get("next") ?? "/blogs"; const redirectTo = request.nextUrl.clone(); redirectTo.pathname = next; diff --git a/apps/web/src/components/LoggedInUserChecks.tsx b/apps/web/src/components/LoggedInUserChecks.tsx index 2e7d924..7e6a536 100644 --- a/apps/web/src/components/LoggedInUserChecks.tsx +++ b/apps/web/src/components/LoggedInUserChecks.tsx @@ -22,20 +22,20 @@ const LoggedInUserChecks = (props: PropsWithChildren) => { subscription?.status && validSubscriptionStatus.includes(subscription.status); - if (!isLoading && !isValidSubscription) { - return ( -
-
- -
-
- - Sign out - -
-
- ); - } + // if (!isLoading && !isValidSubscription) { + // return ( + //
+ //
+ // + //
+ //
+ // + // Sign out + // + //
+ //
+ // ); + // } return <>{props.children}; }; diff --git a/apps/web/src/layouts/AppLayout.tsx b/apps/web/src/layouts/AppLayout.tsx index 7b3cf1c..f917db3 100644 --- a/apps/web/src/layouts/AppLayout.tsx +++ b/apps/web/src/layouts/AppLayout.tsx @@ -80,6 +80,7 @@ export default function AppLayout({ return (
+ {IS_DEV && } Zenblog @@ -87,7 +88,6 @@ export default function AppLayout({ - {IS_DEV && }