I have this code in constructor :
constructor() {
this.state = {
recipient: {
lat: -6.173752,
lon: 106.8925773
}
}
}
And I want to add this to recipient :
var temp = {
address: 'example street',
phone: '+623123131321'
}
How to add temp variable to recipient ?