When I wrap _app.js in <UserProvider> in latest NextJS, page load is blank

I’m new to auth0 (and frankly a bit to nextjs). If I wrap the parent _app.js in , I get no page contents. I tried wrapping child components and everything loads fine. I read somewhere about the latest version of NextJS being problematic possible? Any thoughts?

Thank you.

So it seems if I wrap <Component> with anything the page isn’t rendering. Is this indicative of anything? Nextjs version is current.

// _app.js
import '@/styles/globals.css'
import { UserProvider } from '@auth0/nextjs-auth0/client';

export default function App({ Component, pageProps }) {
  <>
    return <Component {...pageProps} />
  </>
}

Ya know what, I just figured it out. I didn’t have the () in there encapsulating the return. Thank you thought :slight_smile: