the error i am facing here is that await has no effect on the expression somebody please help!!
on submitting the form it says typeError undefined is not object evaluating result.ok
Blockquote const result = await messagesApi.send(message, listing.id);
if (!result.ok) {
console.log("Error", result);
return Alert.alert("Error", "Could not send the message to the seller.");
}