useUserDisplayName()
Gets the user's display name
import { useDisplayName } from '@nhost/react'
const Avatar = () => {
const displayName = useDisplayName()
return <div>Hello, {displayName}</div>
}
useUserDisplayName()
Gets the user's display name
import { useDisplayName } from '@nhost/react'
const Avatar = () => {
const displayName = useDisplayName()
return <div>Hello, {displayName}</div>
}