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

22 lines
471 B
TypeScript
Raw 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 (
<InternalLayout setupModeActive={setupModeActive}>
{children}
</InternalLayout>
);
}