From 853c63e024a63530429414c18869ad48be0e9331 Mon Sep 17 00:00:00 2001 From: lucas-neynar Date: Thu, 13 Mar 2025 13:50:04 -0700 Subject: [PATCH] cleanup --- README.md | 6 +----- src/app/layout.tsx | 9 ++------- src/app/opengraph-image.tsx | 1 - src/auth.ts | 1 - 4 files changed, 3 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 2d08f09..7fb1714 100644 --- a/README.md +++ b/README.md @@ -9,8 +9,4 @@ This is a [NextJS](https://nextjs.org/) + TypeScript + React app. To create a new frames project, run: ```{bash} npx frames-v2-quickstart -``` - -## TODO -* try ngrok locally, then integrate with localtunnel if possible -* ask for seed phrase in setup and generate manifest \ No newline at end of file +``` \ No newline at end of file diff --git a/src/app/layout.tsx b/src/app/layout.tsx index 8a4d021..288c052 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -13,14 +13,9 @@ export default async function RootLayout({ children, }: Readonly<{ children: React.ReactNode; -}>) { - console.log('Environment variables:'); - console.log('NEXT_PUBLIC_URL:', process.env.NEXT_PUBLIC_URL); - console.log('NEXTAUTH_URL:', process.env.NEXTAUTH_URL); - +}>) { const session = await getSession() - console.log('Session:', session); - + return ( diff --git a/src/app/opengraph-image.tsx b/src/app/opengraph-image.tsx index 6848343..01b2560 100644 --- a/src/app/opengraph-image.tsx +++ b/src/app/opengraph-image.tsx @@ -9,7 +9,6 @@ export const size = { export const contentType = "image/png"; // dynamically generated OG image for frame preview -// TODO: make this dynamic with user info (like robin's example) export default async function Image() { return new ImageResponse( ( diff --git a/src/auth.ts b/src/auth.ts index 6ace57d..65f3c5f 100644 --- a/src/auth.ts +++ b/src/auth.ts @@ -63,7 +63,6 @@ export const authOptions: AuthOptions = { }); const domain = getDomainFromUrl(process.env.NEXTAUTH_URL); - console.log('Using domain for auth:', domain); const verifyResponse = await appClient.verifySignInMessage({ message: credentials?.message as string,