score:1

Accepted answer

you are destructuring values from the second argument of detailinterview whereas you should do that from props as values from mapstatetoprops and connect are available as props to the connected component

const detailinterview = (props) => {
    const { dispatch, loading, interviews, haserrors } = props;
    ...
}

Related Query

More Query from same tag