Next.js Discord

Discord Forum

Using metadata with 'use client' in Next 13.4.8

Unanswered
Great Skua posted this in #help-forum
Open in Discord
Great SkuaOP
Hello,
I have "selection" folder/page.
In the page.tsx, I have:
export const metadata = {
    title: "Selections Page",
};

But, it won't work if I add 'use client'.
How do I apply the title for the metadata?

1 Reply