README
@sharyn/next-auth
import { useUser } from '@sharyn/next-auth'
const App = () => {
const { user, isUserLoading, session } = useUser()
if (!user) return null
return {user.name}
}
```jsx import { useUser } from '@sharyn/next-auth'
<script type="module">
import sharynNextAuth from 'https://cdn.skypack.dev/@sharyn/next-auth';
</script>
import { useUser } from '@sharyn/next-auth'
const App = () => {
const { user, isUserLoading, session } = useUser()
if (!user) return null
return {user.name}
}