Adapt with new next-auth version
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import {useState} from 'react'
|
||||
import {styled} from '@mui/material/styles'
|
||||
import PropTypes from 'prop-types'
|
||||
import {signOut} from 'next-auth/client'
|
||||
import {signOut} from 'next-auth/react'
|
||||
import {Tooltip, Fab, Zoom} from '@mui/material'
|
||||
import ExitToAppIcon from '@mui/icons-material/ExitToApp'
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import {useEffect, useState, forwardRef} from 'react'
|
||||
import {signIn} from 'next-auth/client'
|
||||
import {signIn} from 'next-auth/react'
|
||||
import {useRouter} from 'next/router'
|
||||
import PropTypes from 'prop-types'
|
||||
import Link from 'next/link'
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import PropTypes from 'prop-types'
|
||||
import Link from 'next/link'
|
||||
import {signIn} from 'next-auth/client'
|
||||
import {signIn} from 'next-auth/react'
|
||||
import {Button} from '@mui/material'
|
||||
|
||||
export default function LoginProvider({id, title, icon, callbackUrl}) {
|
||||
|
||||
Reference in New Issue
Block a user