# React component calling issue with props using Redux and connect

**URL:** <https://forum.kirupa.com/t/react-component-calling-issue-with-props-using-redux-and-connect/637050>\
**Category:** programming\
**Created:** [August 16, 2017, 8:43am UTC](https://forum.kirupa.com/t/react-component-calling-issue-with-props-using-redux-and-connect/637050 "2017-08-16T08:43:30Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![whileinwork](https://avatars.discourse-cdn.com/v4/letter/w/b5e925/32.png) [@whileinwork](https://forum.kirupa.com/u/whileinwork)\
**Post date:** [August 16, 2017, 8:43am UTC](https://forum.kirupa.com/t/react-component-calling-issue-with-props-using-redux-and-connect/637050/1 "2017-08-16T08:43:31Z")

</div>

I have this code

```auto
    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.
