link-stack/apps/link/app/(main)/layout.tsx

24 lines
482 B
TypeScript
Raw Permalink Normal View History

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 (
2024-08-07 12:02:33 +02:00
<InternalLayout
setupModeActive={setupModeActive}
>
{children}
</InternalLayout>
);
}