score:0

try this:

in the tbody tag

{props.leads && props.leads[0].map(  
                            <tr key={lead.id}>
                                <td>{lead.id}</td>
                            </tr>
                        ))}

score:0

i think you have typo in switch statement it should be switch(action.type) without 's, that's why when action is triggered it can't find correspond action type in reducer and data is not loaded to redux store


Related Query

More Query from same tag