Hello! Iām trying to utilize an array attribute under the User object and am getting undefined as a response. Upon loading a userās own profile, the array was set with useState in react to an active component and then used to map the array values to a set of tags. This worked for less than a day and then stopped working. Iāve update the Moralis server. Here is a simple log of the data showing the result as undefined:
const skillReveal = () => {
console.log(user.attributes.rate);
console.log(user.attributes.contactForPricing);
console.log(user.attributes.skillSet); //<= this is the array
}
Here are the logged results with the array as undefined:
Here is the matching data entries in the Moralis database under the User class
Any help would be appreciated. In a different part of my app I query Users based on their name and return the user attributes as an array of results, and for some reason here the attribute array āskillSetā displays, however not using āuserā in react through āuseMoralis()ā