Now I am using this code the check if result is null then return:
let data = this.props.channel.channel;
        if(!data || data == {} || data == undefined){
            return (<div></div>);
        }
but from my debug output seems it did not work, what should I do to fix it?

 
     
    