@sharyn/next-auth
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

@sharyn/next-auth

import { useUser } from '@sharyn/next-auth'

const App = () => {
  const { user, isUserLoading, session } = useUser()

  if (!user) return null

  return {user.name}
}

/@sharyn/next-auth/

    Package Sidebar

    Install

    npm i @sharyn/next-auth

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    1.57 kB

    Total Files

    5

    Last publish

    Collaborators

    • sharyn