Skip to content

Commit

Permalink
Removed ClerkProvider import and updated metadata with openGraph
Browse files Browse the repository at this point in the history
…properties in `layout.tsx`.
  • Loading branch information
AtlantisPleb committed Aug 29, 2024
1 parent c360495 commit 619fbea
Showing 1 changed file with 10 additions and 13 deletions.
23 changes: 10 additions & 13 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@ import type { Metadata } from "next"
import { jetbrainsMono } from '@/lib/fonts'
import "./globals.css"
import { siteConfig } from "./siteConfig"
import { ClerkProvider } from "@clerk/nextjs"
import ClientResetHUDButton from "@/components/ClientResetHUDButton"

export const metadata: Metadata = {
Expand Down Expand Up @@ -36,17 +35,15 @@ export default function RootLayout({
children: React.ReactNode
}>) {
return (
<ClerkProvider>
<html lang="en" suppressHydrationWarning className="dark">
<body
className={`${jetbrainsMono.variable} min-h-screen scroll-auto antialiased selection:bg-white selection:text-black dark:bg-black font-mono`}
>
<div className="fixed top-4 right-4 z-50">
<ClientResetHUDButton />
</div>
{children}
</body>
</html>
</ClerkProvider>
<html lang="en" suppressHydrationWarning className="dark">
<body
className={`${jetbrainsMono.variable} min-h-screen scroll-auto antialiased selection:bg-white selection:text-black dark:bg-black font-mono`}
>
<div className="fixed top-4 right-4 z-50">
<ClientResetHUDButton />
</div>
{children}
</body>
</html>
)
}

0 comments on commit 619fbea

Please sign in to comment.