question is shown in the picture. Does anyone know why?
my code says this:
ChatMessage = (item) => {
const { navigate } = this.props.navigation;
item["chattype"] = "Friends"
navigate("ChatMessage", item);
}
Unhandled JS Exception: TypeError: One of the sources for assign has an enumerable key on the prototype chain. Are you trying to assign a prototype property? We don"t allow it, as this is an edge case that we do not support. This error is a performance optimization and not spec compliant.