Skip to content

Show the notification at the top right of the page#63

Open
prorene wants to merge 15 commits into
mainfrom
issue-42-login-register-session
Open

Show the notification at the top right of the page#63
prorene wants to merge 15 commits into
mainfrom
issue-42-login-register-session

Conversation

@prorene

@prorene prorene commented Feb 25, 2025

Copy link
Copy Markdown
Collaborator

image

Comment thread app/page.tsx
import { Metadata } from "next";
import PageContent from '@/app/components/ui/page.content';

export async function generateMetadata(): Promise<Metadata> {

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.

@prorene this needs to stay in the page, and every route page should have it

Copy link
Copy Markdown
Collaborator Author

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.

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.

2 participants