I am having this issue where my header and footer from the app are appearing on my sanity admin page, and I assume it has to do with the layout.tsx file but I cannot seemt to fix it or find solutions online. Any help would be appreciated.
export default function RootLayout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body className={`${inter.className} overflow-x-hidden no-scrollbar`}>
<Header />
{children}
<Footer />
</body>
</html>
)
}