this.setState({perusahaan:typeProps,perusahaanData:response.data.data,getPerusahaan:index==-1?null:perusahaanData[index],msgErrorPerusahaan:index===-1?'Company has been inactive':"",errorPerusahaan:index===-1?true:false})
<Typographystyle={{fontSize:11}}>{`Created By : ${this.state.tempData===null?'':(this.state.tempData.created===null?'-':this.state.tempData.created)}`}</Typography>
<Typographystyle={{fontSize:11}}>{`Updated By : ${this.state.tempData===null?'':(this.state.tempData.updated===null?'-':this.state.tempData.updated)}`}</Typography>