score:1

Accepted answer
const {contract} = response.data
this.setState({ contract: contract });

Related Query

More Query from same tag