Unverified Commit 50a416a5 authored by Jesse Jafa's avatar Jesse Jafa Committed by GitHub

Fixes with-chakra-ui example error (#18954)

Resolves https://github.com/vercel/next.js/issues/18941
parent 38a24a9b
...@@ -12,7 +12,7 @@ export const CTA = () => ( ...@@ -12,7 +12,7 @@ export const CTA = () => (
py={2} py={2}
> >
<ChakraLink isExternal href="https://chakra-ui.com" flexGrow={1} mx={2}> <ChakraLink isExternal href="https://chakra-ui.com" flexGrow={1} mx={2}>
<Button width="100%" variant="outline" variantColor="green"> <Button width="100%" variant="outline" variantcolor="green">
chakra-ui chakra-ui
</Button> </Button>
</ChakraLink> </ChakraLink>
...@@ -23,7 +23,7 @@ export const CTA = () => ( ...@@ -23,7 +23,7 @@ export const CTA = () => (
flexGrow={3} flexGrow={3}
mx={2} mx={2}
> >
<Button width="100%" variant="solid" variantColor="green"> <Button width="100%" variant="solid" variantcolor="green">
View Repo View Repo
</Button> </Button>
</ChakraLink> </ChakraLink>
......
...@@ -5,7 +5,11 @@ import theme from '../theme' ...@@ -5,7 +5,11 @@ import theme from '../theme'
function MyApp({ Component, pageProps }) { function MyApp({ Component, pageProps }) {
return ( return (
<ThemeProvider theme={theme}> <ThemeProvider theme={theme}>
<ColorModeProvider> <ColorModeProvider
options={{
useSystsemColorMode: true,
}}
>
<CSSReset /> <CSSReset />
<Component {...pageProps} /> <Component {...pageProps} />
</ColorModeProvider> </ColorModeProvider>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment