Skip to content

Instantly share code, notes, and snippets.

@ShekMak

ShekMak/_app.tsx Secret

Created February 20, 2022 17:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ShekMak/21ad57a8d44b3205129b18f7b10ec646 to your computer and use it in GitHub Desktop.
Save ShekMak/21ad57a8d44b3205129b18f7b10ec646 to your computer and use it in GitHub Desktop.
import '../styles/globals.css'
import type { AppProps } from 'next/app'
import 'bootstrap-icons/font/bootstrap-icons.css';
import { AuthContextProvider } from '../store/auth.context';
function MyApp({ Component, pageProps }: AppProps) {
return (
<AuthContextProvider>
<div className="bg-white text-black font-serif h-screen w-screen overflow-hidden">
<Component {...pageProps} />
</div>
</AuthContextProvider>
)
}
export default MyApp
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment