adding a 'current.user' first name to a button

import wixUsers from ‘wix-users’ ;
import wixData from ‘wix-data’ ;

function getfirstName() {
let firstName = ‘’
wixData.query( “Members/PrivateMembersData” )
.eq( “_id” , wixUsers.currentUser.id)
.find()
.then( (results) => {
firstName = results.items[ 0 ].firstName;
} );
return firstName;
}

$w.onReady( function () {
if (wixUsers.currentUser.loggedIn) {
$w( ‘#LogInButton1HomePage’ ).label = ${getfirstName()} VIEW YOUR ACCOUNT ;
$w( “#button33” ).hide();
$w( “#button74” ).hide();
}
else {
$w( ‘#LogInButton1HomePage’ ).label = View MY MEADOWS ACCOUNT ;
$w( ‘#button33’ ).show();
}
});