8eec49208f
Rename all instances of `utils` to `lib` in this example to maintain consistency with other examples.
13 lines
355 B
JavaScript
13 lines
355 B
JavaScript
import { Auth } from '@supabase/ui'
|
|
import { supabase } from '../lib/initSupabase'
|
|
import './../style.css'
|
|
|
|
export default function MyApp({ Component, pageProps }) {
|
|
return (
|
|
<main className={'dark'}>
|
|
<Auth.UserContextProvider supabaseClient={supabase}>
|
|
<Component {...pageProps} />
|
|
</Auth.UserContextProvider>
|
|
</main>
|
|
)
|
|
}
|