diff --git a/src/app/layout.tsx b/src/app/layout.tsx index b87e961..4194bf5 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -8,16 +8,15 @@ import { TopNav } from "./_components/TopNav"; export async function generateMetadata(): Promise { const url = "https://frontiers.paradigm.xyz"; - const { - "og:title": _, - "og:image": __, - ...frameMetadata - } = await getFrameMetadata(`${url}/api`); + + const result = await getFrameMetadata(`${url}/api`) as Record; + const { "og:title": _, "og:image": __, ...frameMetadata } = result; + return { title: "Paradigm Frontiers | August 6-8, 2025", description: "Paradigm's annual open source conference and hackathon, bringing together developers, researchers, and enthusiasts to explore and build at the cutting edge of crypto.", - icons: [{ rel: "icon", url: "/images/favicon.png" }], + icons: { icon: "/images/favicon.png" }, twitter: { card: "summary_large_image", title: "Paradigm Frontiers | August 6-8, 2025", @@ -50,7 +49,7 @@ export async function generateMetadata(): Promise { }; } -export default function RootLayout({ children }: PropsWithChildren) { +export default function RootLayout({ children }: PropsWithChildren<{}>) { return ( @@ -58,7 +57,7 @@ export default function RootLayout({ children }: PropsWithChildren) {
-
{children}
+
{children}