-
Notifications
You must be signed in to change notification settings - Fork 0
Show the notification at the top right of the page #63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
prorene
commented
Feb 25, 2025

…nction to check loggedIn status
| import { Metadata } from "next"; | ||
| import PageContent from '@/app/components/ui/page.content'; | ||
|
|
||
| export async function generateMetadata(): Promise<Metadata> { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@prorene this needs to stay in the page, and every route page should have it
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I moved that function to the markket/metadata.ts file.
Because in 'use client' mode, we can't use async functions inside it.