From c7697666fe7b109477a22bc9532f73b03fb831ac Mon Sep 17 00:00:00 2001 From: asepharyana Date: Wed, 19 Aug 2026 22:46:14 +0700 Subject: [PATCH] fix(web): remove stray create-next-app layout.tsx (LayoutProps<'/'> removed in Next 16) The file sat outside app/ so next build ignored it, but turbo typecheck's tsc compiles all *.tsx and failed on the Next-15-only LayoutProps type. The real layout is apps/web/app/layout.tsx. Deleting the dead scaffold lets CI typecheck pass. --- apps/web/layout.tsx | 29 ----------------------------- 1 file changed, 29 deletions(-) delete mode 100644 apps/web/layout.tsx diff --git a/apps/web/layout.tsx b/apps/web/layout.tsx deleted file mode 100644 index 9852c15..0000000 --- a/apps/web/layout.tsx +++ /dev/null @@ -1,29 +0,0 @@ -import type { Metadata } from "next"; -import { Geist, Geist_Mono } from "next/font/google"; -import "./globals.css"; - -const geistSans = Geist({ - variable: "--font-geist-sans", - subsets: ["latin"], -}); - -const geistMono = Geist_Mono({ - variable: "--font-geist-mono", - subsets: ["latin"], -}); - -export const metadata: Metadata = { - title: "Create Next App", - description: "Generated by create next app", -}; - -export default function RootLayout({ children }: LayoutProps<"/">) { - return ( - - {children} - - ); -}