Skip to content

Commit

Permalink
fix colorScheme on example
Browse files Browse the repository at this point in the history
  • Loading branch information
pacocoursey committed Feb 20, 2022
1 parent 133707f commit 6f6e0ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/example/pages/_app.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import '../styles.css'

function MyApp({ Component, pageProps }) {
return (
<ThemeProvider enableColorScheme={false} forcedTheme={Component.theme || undefined}>
<ThemeProvider forcedTheme={Component.theme || undefined}>
<Component {...pageProps} />
</ThemeProvider>
)
Expand Down

2 comments on commit 6f6e0ff

@vercel
Copy link

@vercel vercel bot commented on 6f6e0ff Feb 20, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

next-themes-tailwind – ./examples/tailwind

next-themes-tailwind-seven.vercel.app
next-themes-tailwind-paco.vercel.app
next-themes-tailwind-git-master-paco.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 6f6e0ff Feb 20, 2022

Choose a reason for hiding this comment

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

Successfully deployed to the following URLs:

next-themes-basic – ./examples/example

next-themes-basic-git-master-paco.vercel.app
next-themes-basic-paco.vercel.app
next-themes-example.vercel.app

Please sign in to comment.