Add chakra and prettier

This commit is contained in:
Kamran Ahmed
2021-08-01 13:19:54 +02:00
parent 5cf17a3e0f
commit 9c81d818ed
7 changed files with 4346 additions and 46 deletions

View File

@ -1,7 +1,14 @@
import '../styles/globals.css'
import type { AppProps } from 'next/app'
import type { AppProps } from 'next/app';
import { ChakraProvider } from '@chakra-ui/react';
import '../styles/globals.css';
function MyApp({ Component, pageProps }: AppProps) {
return <Component {...pageProps} />
return (
<ChakraProvider>
<Component {...pageProps} />
</ChakraProvider>
);
}
export default MyApp
export default MyApp;