Use the hook useUserDisplayName to get the display name of the user.

const userDisplayName = useUserDisplayName()

Use the hook useUserDisplayName to get the display name of the user.

const userDisplayName = useUserDisplayName()