I have this code
return (
<SideBar {...sideBarProps}>
<div className='main'>
<section className='touch-option'>
<div className='title'></div>
<div className='explain'>
<DashboardLead actions={this.props.actions}
dispatch={this.props.dispatch}
leads={this.props.leads}/>
</div>
</section>
</div>
</SideBar>
);
I am getting error un-define method map, that means i am note getting leads array through this.props.leads.
Please help me on this.