import React from 'react' import { useAuth } from '../../auth' function ProfileName() { const { isLoading, user } = useAuth() return isLoading ? Loading... : {user.name} } export default ProfileName