Adapt with new next-auth version

This commit is contained in:
Cédric FAMIBELLE-PRONZOLA
2022-02-03 01:59:49 +04:00
parent 25ccc206ab
commit 1bd18fbdf1
8 changed files with 18 additions and 16 deletions
+1 -1
View File
@@ -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}) {