I am trying to render a component conditionally based off the value of AsyncStorage, but I am getting the above error. I even tried converting the object to an Array, but that did not work as well. Not sure what else to do.
const test = async () => {
const test = await ratingCountCompleted;
let result = Object.values(test);
result = result.toString();
console.log(result);
if(result > 1) {
console.log('YUP');
return (
<InAppRating />
)
} else {
console.log('NOPE')
}
}