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 = () => (
py={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
</Button>
</ChakraLink>
......@@ -23,7 +23,7 @@ export const CTA = () => (
flexGrow={3}
mx={2}
>
<Button width="100%" variant="solid" variantColor="green">
<Button width="100%" variant="solid" variantcolor="green">
View Repo
</Button>
</ChakraLink>
......
......@@ -5,7 +5,11 @@ import theme from '../theme'
function MyApp({ Component, pageProps }) {
return (
<ThemeProvider theme={theme}>
<ColorModeProvider>
<ColorModeProvider
options={{
useSystsemColorMode: true,
}}
>
<CSSReset />
<Component {...pageProps} />
</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