mirror of
https://github.com/LukeHagar/better-auth.git
synced 2025-12-10 04:19:32 +00:00
feat: change social provider config to flat config
This commit is contained in:
@@ -8,14 +8,13 @@ import { GeistSans } from "geist/font/sans";
|
||||
import { Wrapper, WrapperWithQuery } from "@/components/wrapper";
|
||||
import { createMetadata } from "@/lib/metadata";
|
||||
|
||||
|
||||
export const metadata = createMetadata({
|
||||
title: {
|
||||
template: "%s | Better Auth",
|
||||
default: "Better Auth",
|
||||
},
|
||||
description: "The most comprehensive authentication library for typescript",
|
||||
metadataBase: new URL("https://demo.better-auth.com",)
|
||||
metadataBase: new URL("https://demo.better-auth.com"),
|
||||
});
|
||||
|
||||
export default function RootLayout({
|
||||
@@ -31,9 +30,7 @@ export default function RootLayout({
|
||||
<body className={`${GeistSans.variable} ${GeistMono.variable} font-sans`}>
|
||||
<ThemeProvider attribute="class" defaultTheme="dark">
|
||||
<Wrapper>
|
||||
<WrapperWithQuery>
|
||||
{children}
|
||||
</WrapperWithQuery>
|
||||
<WrapperWithQuery>{children}</WrapperWithQuery>
|
||||
</Wrapper>
|
||||
<Toaster richColors closeButton />
|
||||
</ThemeProvider>
|
||||
|
||||
Reference in New Issue
Block a user