I agree to Julien. Also you don’t have to compare it to null. You can write it like
this.state.acessos && this.state.acessos.length > 0
I agree to Julien. Also you don’t have to compare it to null. You can write it like
this.state.acessos && this.state.acessos.length > 0