mirror of
https://github.com/neynarxyz/create-farcaster-mini-app.git
synced 2025-11-16 08:08:56 -05:00
28 lines
583 B
TypeScript
28 lines
583 B
TypeScript
import type { Metadata } from "next";
|
|
|
|
import { getSession } from "~/auth"
|
|
import "~/app/globals.css";
|
|
import { Providers } from "~/app/providers";
|
|
import { APP_NAME, APP_DESCRIPTION } from "~/lib/constants";
|
|
|
|
export const metadata: Metadata = {
|
|
title: APP_NAME,
|
|
description: APP_DESCRIPTION,
|
|
};
|
|
|
|
export default async function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
const session = await getSession()
|
|
|
|
return (
|
|
<html lang="en">
|
|
<body>
|
|
<Providers session={session}>{children}</Providers>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|