added clerk providor
This commit is contained in:
parent
9dd01e1291
commit
11ef6daf23
@ -1,6 +1,7 @@
|
|||||||
import './globals.css'
|
import './globals.css'
|
||||||
import type { Metadata } from 'next'
|
import type { Metadata } from 'next'
|
||||||
import { Open_Sans } from 'next/font/google'
|
import { Open_Sans } from 'next/font/google'
|
||||||
|
import { ClerkProvider } from '@clerk/nextjs'
|
||||||
|
|
||||||
const font = Open_Sans({ subsets: ['latin'] })
|
const font = Open_Sans({ subsets: ['latin'] })
|
||||||
|
|
||||||
@ -15,8 +16,10 @@ export default function RootLayout({
|
|||||||
children: React.ReactNode
|
children: React.ReactNode
|
||||||
}) {
|
}) {
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<ClerkProvider>
|
||||||
<body className={font.className}>{children}</body>
|
<html lang="en">
|
||||||
</html>
|
<body className={font.className}>{children}</body>
|
||||||
|
</html>
|
||||||
|
</ClerkProvider>
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user