@sharyn/next-auth
import { useUser } from '@sharyn/next-auth'
const App = () => {
const { user, isUserLoading, session } = useUser()
if (!user) return null
return {user.name}
}
import { useUser } from '@sharyn/next-auth'
const App = () => {
const { user, isUserLoading, session } = useUser()
if (!user) return null
return {user.name}
}
npm i @sharyn/next-auth
0
0.1.0
MIT
1.57 kB
5