link-stack/apps/link/app/(main)/layout.tsx
2025-11-10 14:55:22 +01:00

23 lines
482 B
TypeScript

import { ReactNode } from "react";
import { Metadata } from "next";
import { InternalLayout } from "./_components/InternalLayout";
export const metadata: Metadata = {
title: "Link",
};
type LayoutProps = {
children: ReactNode;
};
export default function Layout({ children }: LayoutProps) {
const setupModeActive = process.env.SETUP_MODE === "true";
return (
<InternalLayout
setupModeActive={setupModeActive}
>
{children}
</InternalLayout>
);
}