Skip to content

Commit

Permalink
feat(providers): add enableSystem option on next themes provider
Browse files Browse the repository at this point in the history
  • Loading branch information
mateusfg7 committed May 29, 2023
1 parent 2785d40 commit 05e7fd8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/providers.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { GeistProvider } from '@geist-ui/core'

export function Providers({ children }: { children: ReactNode }) {
return (
<ThemeProvider attribute="class" defaultTheme="system">
<ThemeProvider attribute="class" defaultTheme="system" enableSystem>
<GeistProvider>{children}</GeistProvider>
</ThemeProvider>
)
Expand Down

0 comments on commit 05e7fd8

Please sign in to comment.