From 581ed1f1f5de9b26268bae97deff360bf2e588ba Mon Sep 17 00:00:00 2001 From: juliusmarminge Date: Sun, 12 Jan 2025 20:41:56 +0100 Subject: [PATCH] fmt --- apps/nextjs/src/app/api/auth/[...nextauth]/route.ts | 1 - apps/nextjs/src/app/api/trpc/[trpc]/route.ts | 1 - apps/nextjs/src/app/page.tsx | 1 - 3 files changed, 3 deletions(-) diff --git a/apps/nextjs/src/app/api/auth/[...nextauth]/route.ts b/apps/nextjs/src/app/api/auth/[...nextauth]/route.ts index 9bca462c6..31f85f5b1 100644 --- a/apps/nextjs/src/app/api/auth/[...nextauth]/route.ts +++ b/apps/nextjs/src/app/api/auth/[...nextauth]/route.ts @@ -3,7 +3,6 @@ import { NextRequest, NextResponse } from "next/server"; import { handlers, isSecureContext } from "@acme/auth"; - const EXPO_COOKIE_NAME = "__acme-expo-redirect-state"; const AUTH_COOKIE_PATTERN = /authjs\.session-token=([^;]+)/; diff --git a/apps/nextjs/src/app/api/trpc/[trpc]/route.ts b/apps/nextjs/src/app/api/trpc/[trpc]/route.ts index e407ab80a..517035155 100644 --- a/apps/nextjs/src/app/api/trpc/[trpc]/route.ts +++ b/apps/nextjs/src/app/api/trpc/[trpc]/route.ts @@ -3,7 +3,6 @@ import { fetchRequestHandler } from "@trpc/server/adapters/fetch"; import { appRouter, createTRPCContext } from "@acme/api"; import { auth } from "@acme/auth"; - /** * Configure basic CORS headers * You should extend this to match your needs diff --git a/apps/nextjs/src/app/page.tsx b/apps/nextjs/src/app/page.tsx index d04f50c12..b922b50ec 100644 --- a/apps/nextjs/src/app/page.tsx +++ b/apps/nextjs/src/app/page.tsx @@ -8,7 +8,6 @@ import { PostList, } from "./_components/posts"; - export default function HomePage() { // You can await this here if you don't want to show Suspense fallback below void api.post.all.prefetch();