Created
          December 28, 2021 14:54 
        
      - 
      
- 
        Save skolhustick/18f6114ad1f92fdc8f63bae5ada5fe9a to your computer and use it in GitHub Desktop. 
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
  | import { SessionProvider } from 'next-auth/react' | |
| export default function App ({ | |
| Component, | |
| pageProps: { session, ...pageProps } | |
| }) { | |
| return ( | |
| <SessionProvider session={session}> | |
| <Component {...pageProps} /> | |
| </SessionProvider> | |
| ) | |
| } | 
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment