Skip to content

Commit

Permalink
Remove CharkraProvicer RestCSS prop (#38199)
Browse files Browse the repository at this point in the history
See the charkra-ui offical docs [ChakraProvider component](https://chakra-ui.com/getting-started/cra-guide#chakraprovider-props), `resetCSS` default value now is `true`, So there is no need to add this prop again
  • Loading branch information
WinmezzZ committed Jul 6, 2022
1 parent fa1261c commit 58070c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/with-chakra-ui/src/pages/_app.tsx
Expand Up @@ -5,7 +5,7 @@ import { AppProps } from 'next/app'

function MyApp({ Component, pageProps }: AppProps) {
return (
<ChakraProvider resetCSS theme={theme}>
<ChakraProvider theme={theme}>
<Component {...pageProps} />
</ChakraProvider>
)
Expand Down

0 comments on commit 58070c6

Please sign in to comment.