Skip to content

Conversation

@prorene
Copy link
Collaborator

@prorene prorene commented Feb 25, 2025

image

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

export async function generateMetadata(): Promise<Metadata> {
Copy link
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
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.

3 participants