Skip to content

Commit

Permalink
fix system theme
Browse files Browse the repository at this point in the history
  • Loading branch information
gokulkrishh committed Jan 14, 2024
1 parent bb21a48 commit 4311ec5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/dashboard/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ export default async function Layout({ children }: any) {
<body className={`${inter.className} flex h-full flex-col text-gray-600 antialiased`}>
<NextTopLoader color="#0076ff" height={2} showSpinner={false} />
<AuthProvider user={user} accessToken={session?.access_token || null}>
<ThemeProvider enableColorScheme attribute="class" defaultTheme="system">
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<main className="relative flex min-h-full min-w-full bg-background">
<DashboardLayout>
<SidebarContextProvider>
Expand Down

1 comment on commit 4311ec5

@vercel
Copy link

@vercel vercel bot commented on 4311ec5 Jan 14, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.