Cannot read property 'props' of undefined code example
Example 1: sweetalert Cannot read property 'constructor' of undefined
Try doing swal.fire() worked for me
Example 2: cannot read property 'props' of undefined react redux functional component
const Index = (props) => { ...
// or
function Index(props) {...
autoPlay={props.deviceType ...