import React from 'react' ; import type { AppProps } from 'next/app' ; import { UserProvider } from '@auth0/nextjs-auth0' ; export default function App ( { Component , pageProps } ) { const { user } = pageProps ; return ( < UserProvider user = { user } > < Component { ... pageProps } / > < /UserProvider>); }