Skip to content

Update Home component for user redirection (page.tsx upated)#94096

Open
nareshhingorani wants to merge 1 commit into
vercel:canaryfrom
nareshhingorani:patch-1
Open

Update Home component for user redirection (page.tsx upated)#94096
nareshhingorani wants to merge 1 commit into
vercel:canaryfrom
nareshhingorani:patch-1

Conversation

@nareshhingorani
Copy link
Copy Markdown

Replace the default Home component with a new implementation that redirects users based on authentication status.

Replace the default Home component with a new implementation that redirects users based on authentication status.
</main>
</div>
);
return <h1>Hello, Vercel!</h1>;
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The create-next-app App Router + Tailwind + TypeScript template page.tsx has two export default declarations, imports after code, and references a non-existent @/lib/supabase/server module, making every newly scaffolded project broken on first build.

Fix on Vercel

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant