fix: remover 'use client' conflict com generateMetadata
This commit is contained in:
5
frontend/src/app/[locale]/projetos/[id]/layout.tsx
Normal file
5
frontend/src/app/[locale]/projetos/[id]/layout.tsx
Normal file
@@ -0,0 +1,5 @@
|
||||
export { generateMetadata } from "./metadata";
|
||||
|
||||
export default function Layout({ children }: { children: React.ReactNode }) {
|
||||
return children;
|
||||
}
|
||||
@@ -4,7 +4,6 @@ import Link from "next/link";
|
||||
import { notFound } from "next/navigation";
|
||||
import { useState, useEffect } from "react";
|
||||
import { useLocale } from "@/contexts/LocaleContext";
|
||||
export { generateMetadata } from "./metadata";
|
||||
|
||||
interface Project {
|
||||
id: string;
|
||||
|
||||
Reference in New Issue
Block a user