From 8e1b93721a58599ab3e49904ede3086e0c93247b Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Mon, 29 Jul 2024 20:43:07 +0200 Subject: [PATCH] Replace one
tag with
tag, and removed a
tag, that wrapped prior
tag;
tag specifies the main content of a document, and there must not be more than one
tag! --- app/(root)/layout.tsx | 4 ++-- app/layout.tsx | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/(root)/layout.tsx b/app/(root)/layout.tsx index 05ff627..cbcd0f5 100644 --- a/app/(root)/layout.tsx +++ b/app/(root)/layout.tsx @@ -38,10 +38,10 @@ export default function PageLayout({ children: React.ReactNode; }) { return ( -
+
{children}
-
+
); } diff --git a/app/layout.tsx b/app/layout.tsx index b2a35a9..d723b8e 100644 --- a/app/layout.tsx +++ b/app/layout.tsx @@ -30,7 +30,7 @@ export default function RootLayout({ disableTransitionOnChange > -
{children}
+ {children}